Skip to content

Releases: olliNiinivaara/GuildenStern

3.0.0

26 Mar 17:15
Compare
Choose a tag to compare
  • breaking API change: Websocket handler's WsUpgradeRequestCallback now accepts first message to send back to client
  • better documentation
  • buffer overflow prevention in header receiver
  • protocolname in ctxstream's registerHandler
  • SecurityThreatened -close cause available for applications to use
  • calling shutdown automatically sends SIGINT signal, i.e. "presses Ctrl-C"
  • SIGTERM is now caught and handled as SIGINT (graceful shutdown)

websockets are go

14 Mar 16:10
Compare
Choose a tag to compare
  • CloseCallback has new parameter socket that allows receiving closecallbacks also for sockets other than current request
  • new proc closeOtherSocket allows closing sockets other than current request (such as websockets)
  • new proc getProtocolName for checking type (http, websocket, ...) of closed sockets other than current request
  • new proc multiSendWs uses non-blocking I/O to cleverly deliver multiple messages to multiple websockets in one shot (even when some receivers have sloppy connections)
  • avoids weird behavior by refusing to use socket address or port that is already in use
  • unreserves sockets at shutdown with SO_LINGER 0 close option so that they can be reused immediately
  • posix.SocketHandle is used instead of nativesockets.SocketHandle
  • posix.INVALID_SOCKET is used instead of nativesockets.osInvalidSocket

first bug fixes

04 Mar 13:16
Compare
Choose a tag to compare
  • MaxWsRequestLength removed (just use MaxRequestLength)
  • Bug fix in WebSocket handler (now initializes WsCtx properly)
  • Bug fix in result code checker (wrong usage of return inside template...)

Version 1.0.0

28 Jan 08:44
495aff7
Compare
Choose a tag to compare
version 1.0.0

Modularity

10 Nov 13:08
Compare
Choose a tag to compare

Ready for feedback

Threadpool

18 Oct 14:44
Compare
Choose a tag to compare
Threadpool Pre-release
Pre-release

Does not support Weave. Uses threadpool instead.

requires weave 0.4.0

17 Jun 14:36
Compare
Choose a tag to compare