Changeset 80acb6d for lib/ssl_client.h
- Timestamp:
- 2011-11-14T10:43:03Z (12 years ago)
- Branches:
- master
- Children:
- 5dd725d
- Parents:
- 03a8f8e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/ssl_client.h
r03a8f8e r80acb6d 63 63 G_MODULE_EXPORT int ssl_write( void *conn, const char *buf, int len ); 64 64 65 /* See ssl_openssl.c for an explanation. */ 65 /* Now needed by most SSL libs. See for more info: 66 http://www.gnu.org/software/gnutls/manual/gnutls.html#index-gnutls_005frecord_005fcheck_005fpending-209 67 http://www.openssl.org/docs/ssl/SSL_pending.html 68 69 Required because OpenSSL empties the TCP buffer completely but doesn't 70 necessarily give us all the unencrypted data. Or maybe you didn't ask 71 for all of it because your buffer is too small. 72 73 Returns 0 if there's nothing left, 1 if there's more data. */ 66 74 G_MODULE_EXPORT int ssl_pending( void *conn ); 67 75
Note: See TracChangeset
for help on using the changeset viewer.