Skip to content

v3.4.0

Compare
Choose a tag to compare
@isaacgr isaacgr released this 20 Sep 11:24
· 16 commits to master since this release

Release Notes

  • Add 'this.protocol' attribute to factory classes 62e6781
  • Update README for http ssl option

  • Add sslOptions attribute and spread that for the https server options

  • Update https test server to use ssl option

  • Add new emptyBuffer method to dump the contents of the message buffer

  • Push request chunks to message buffer and validate entire buffer

  • no delimiter used since one is not typically sent for large json data
  • Add test for emptyBuffer

  • Register 'end' event for http listener to emptyBuffer on response complete

  • Call on('end') listener outside of data listener and check if buffer is empty

    • prevents maxEventListeners warning
    • dont try to parse empty buffer string
  • Add generic _removeFromArray method

  • used to remove clients from this.clients
  • used to remove pendingRequests from this.pendingRequests
  • Return false from _maybeHandleRequest if notification received
    • Dont send a response to a batch request if the respnse is empty
    • Only attempt to get results for batch request messages if they are not notifications

Changes

v3.3.2...v3.4.0