Opened 6 years ago

Closed 6 years ago

#2193 closed defect (fixed)

Buffered read data on SSL socket might not immediately get read after handshake is complete

Reported by: riza Owned by: riza
Priority: normal Milestone: release-2.9
Component: pjlib Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description

Scenario:

  1. Client SSL socket will send data immediately to the server after it is connected.
  2. On the server side, the data sent will be buffered. At this point, the handshake on the server side is not yet completed. When the handshake is complete, the buffered data will not be read immediately. It will not be read unless the client proceed to send data. If this is not the case, the client will likely get a time out to the send operation.

This patch will enable reading the buffered data, immediately after the handshake is complete.

Change History (1)

comment:1 Changed 6 years ago by riza

  • Owner set to riza
  • Resolution set to fixed
  • Status changed from new to closed

In 5975:

Close #2193: Buffered read data on SSL socket might not immediately get read after handshake is complete.

Note: See TracTickets for help on using tickets.