Changeset 34738

Timestamp:
Jul 26, 2006, 11:14:12 AM (16 years ago)
Author:
chris_kohlhoff
Message:

Fix two problems in the SSL implementation:

  • A read operation should check the read buffer first to see if there's any data present and use that first, before issuing a new read from the socket.
  • The read buffer was a member of the openssl_operation class, and a new openssl_operation object is created for each read or write initiated by the application. This meant that any surplus data from a previous read is lost. Changed the buffer to be a member of the stream object.
(No files)

Note: See TracChangeset for help on using the changeset viewer.