xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Initial Version and Version 1 of Ticket #1213, comment 3


Ignore:
Timestamp:
09/08/16 04:12:35 (5 years ago)
Author:
Antoine Martin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1213, comment 3

    initial v1  
    77/usr/include/openssl/ssl.h:int SSL_peek(SSL *ssl, void *buf, int num);
    88}}}
    9 But this is not exposed in the python API, and we cannot access the underlying SSL object to use via ctypes.
     9And [https://pypi.python.org/pypi/pyOpenSSL pyOpenSSL] does have support for it: [https://github.com/pyca/pyopenssl/pull/294 Add support for SSL_peek].
     10But this is not exposed in the python ssl module, and we cannot access the underlying SSL object to use via ctypes.
    1011So we cannot decide immediately if the SSL socket is being used by the client for xpra's protocol or for https / wss, we have to read some data from the socket by starting the IO protocol threads first.
    1112