boxlang-express 0.2.14

Released .

  • STOMP fixes: content-length is now an octet count, not a character count (a multi-byte body used to keep the frame's trailing NUL); CRLF-terminated frames now parse (they arrived as command SEND\r with an empty body); application headers on SEND are forwarded to subscribers; re-using a subscription id on a connection is rejected instead of orphaning the first subscription (which kept receiving for a destination its owner could no longer unsubscribe); and a destination's registry entry is pruned once its last subscriber leaves.
  • STOMP limits: new connectTimeoutMs, maxFramesPerSecond (opt-in), maxSubscriptions, maxTransactions, maxTransactionFrames, maxPendingAcks and maxDestinationLength options, so one client can no longer make the broker buffer or wait without bound — see the Limits table under STOMP. A throwing authenticate/authorize/ onSend callback now produces an ERROR frame instead of silence. Full suite: 285/285.