Skip to content

v1.5.5

Compare
Choose a tag to compare
@lesismal lesismal released this 17 Apr 17:24
· 72 commits to master since this release

v1.5.5

Thanks to @liwnn for providing the details of the websocket parsing bug!

Delete and republish v1.5.4 with bug fixing, using the new version v1.5.5 :

  1. websocket: fix bug for body length parsing.
  2. kqueue: opt write event.

v1.5.4

Socket

  1. epoll/kqueue: clear fd from poller automatically by syscall.Close.
  2. Add flow control for write cache flush to avoid large buffer write failure.
  3. Optimize write cache: use [][]byte to avoid the single large buffer usage.

HTTP:

  1. Change body to [][]byte to avoid single large buffer usage.
  2. Optimize body calculation.
  3. Add MaxHTTPBodySize config.
  4. add Client.Dial configuration.
  5. add Engine.SetETAsyncRead/SetLTSyncRead.

Websocket

  1. Add Lock for parsing logic.
  2. Optimize session consistency.