Skip to content

0.2.0

Latest
Compare
Choose a tag to compare
@un-def un-def released this 05 Jul 11:04
· 2 commits to master since this release

Features

  • [buffet.resty] The Lua Nginx Module/OpenResty flavor of the socket interface is now fully implemented:
    • Add send method
    • Add receiveany method
    • Add setkeepalive method
    • Add noop/dummy methods:
      • connect
      • sslhandshake
      • settimeout
      • settimeouts
      • setoption
      • getreusedtimes
  • [buffet] Add get_send_buffer and get_sent_data functions for accessing the send buffer.

Improvements

  • [buffet.resty] Improve compatibility of the Lua Nginx Module/OpenResty flavor:
    • receive('*a') does not close the buffet
    • receive('*a') returns an error if the buffet is closed
    • receiveuntil(pattern) does not check whether the buffet is closed
  • [buffet.resty] Make the data parameter of the constructor optional

Internal Changes

  • [buffet.resty] Do not use the close method internally