#719 wantread/wantwrite issue for ssl connections in server_select

Reporter blastbeat
Owner Nobody
Created
Updated
Stars ★ (1)
Tags
  • Priority-Medium
  • Status-New
  • Type-Defect
  1. blastbeat on

    Hi Prosody team, the script server_select.lua does not correctly handle ssl connections. There might be "wantreads" during write attemps and vice versa in ssl connections. But the script does not recognize this (see _sendbuffer, _readbuffer). I fixed this in luadchs server.lua, because it caused subtle and hard to track bugs: https://github.com/luadch/luadch/blob/master/core/server.lua Best, blastbeat

New comment

Not published. Used for spam prevention and optional update notifications.