Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/crypto/dist/openssl/ssl
Module Name: src
Committed By: tls
Date: Tue Jun 10 19:45:00 UTC 2008
Modified Files:
src/crypto/dist/openssl/ssl: s3_lib.c s3_pkt.c ssl_locl.h
Log Message:
Apply patch from Darryl Miles which adjusts SSL_shutdown's behavior for
non-blocking BIOs so that it is sane -- so that, in other words, -1 with
a meaningful library error code (WANT_READ or WANT_WRITE) is returned
when we would block for I/O. Without this change, you have to sleep or
spin -- you can't know how to put the underlying socket in your select
or poll set.
Patch from http://marc.info/?l=openssl-dev&m=115154030723033&w=2 and
rationale at http://marc.info/?l=openssl-dev&m=115153998821797&w=2 where
sadly they were overlooked by the OpenSSL team for some time. It is hoped
that now that we've brought this change to their attention they will
integrate it into their sources and we can lose the local change in
NetBSD.
To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 src/crypto/dist/openssl/ssl/s3_lib.c
cvs rdiff -r1.8 -r1.9 src/crypto/dist/openssl/ssl/s3_pkt.c
cvs rdiff -r1.12 -r1.13 src/crypto/dist/openssl/ssl/ssl_locl.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index