Просмотр исходного кода

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.


[SVN r34738]
Christopher Kohlhoff 20 лет назад
Родитель
Сommit
1d7c9730ac
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      libs/asio

+ 1 - 1
libs/asio

@@ -1 +1 @@
-Subproject commit 0c65769b47d1c487aff6d1fea49eddaf5ff1c6f8
+Subproject commit 1b337d8054491b6bb21ee672b6a7b9671655515b

粤ICP备19079148号