Home
last modified time | relevance | path

Searched refs:server_side (Results 1 – 25 of 25) sorted by relevance

/third_party/python/Lib/
Dssl.py506 def wrap_socket(self, sock, server_side=False, argument
514 server_side=server_side,
522 def wrap_bio(self, incoming, outgoing, server_side=False, argument
527 incoming, outgoing, server_side=server_side,
862 def _create(cls, incoming, outgoing, server_side=False, argument
866 incoming, outgoing, server_side=server_side,
897 def server_side(self): member in SSLObject
899 return self._sslobj.server_side
1014 def _create(cls, sock, server_side=False, do_handshake_on_connect=True, argument
1019 if server_side:
[all …]
/third_party/python/Lib/asyncio/
Dsslproto.py14 def _create_transport_context(server_side, server_hostname): argument
15 if server_side:
55 def __init__(self, context, server_side, server_hostname=None): argument
67 self._server_side = server_side
118 server_side=self._server_side,
411 server_side=False, server_hostname=None, argument
426 server_side, server_hostname)
428 self._server_side = server_side
429 if server_hostname and not server_side:
Dbase_events.py467 *, server_side=False, server_hostname=None, argument
1093 server_hostname, server_side=False, argument
1104 server_side=server_side, server_hostname=server_hostname,
1194 server_side=False, argument
1217 server_side, server_hostname,
1535 sock, protocol_factory, ssl, '', server_side=True,
Dproactor_events.py643 *, server_side=False, server_hostname=None, argument
648 server_side, server_hostname,
827 conn, protocol, sslcontext, server_side=True,
Dselector_events.py71 *, server_side=False, server_hostname=None, argument
76 server_side, server_hostname,
210 server_side=True, extra=extra, server=server,
Devents.py372 server_side=False, argument
/third_party/python/Modules/clinic/
D_ssl.c.h635 int server_side, PyObject *hostname_obj,
647 int server_side; in _ssl__SSLContext__wrap_socket() local
661 server_side = _PyLong_AsInt(args[1]); in _ssl__SSLContext__wrap_socket()
662 if (server_side == -1 && PyErr_Occurred()) { in _ssl__SSLContext__wrap_socket()
686 …return_value = _ssl__SSLContext__wrap_socket_impl(self, sock, server_side, hostname_obj, owner, se… in _ssl__SSLContext__wrap_socket()
703 PySSLMemoryBIO *outgoing, int server_side,
717 int server_side; in _ssl__SSLContext__wrap_bio() local
736 server_side = _PyLong_AsInt(args[2]); in _ssl__SSLContext__wrap_bio()
737 if (server_side == -1 && PyErr_Occurred()) { in _ssl__SSLContext__wrap_bio()
761 …return_value = _ssl__SSLContext__wrap_bio_impl(self, incoming, outgoing, server_side, hostname_obj… in _ssl__SSLContext__wrap_bio()
/third_party/python/Lib/test/test_asyncio/
Dfunctional.py133 server_side=False, argument
137 self.__sock, server_side=server_side,
Dtest_sslproto.py230 sock.start_tls(server_context, server_side=True)
293 sock.start_tls(server_context, server_side=True)
361 sock.start_tls(server_context, server_side=True)
556 server_side=True,
692 server_side=True)
725 server_side=True)
Dutils.py164 ssock = context.wrap_socket(request, server_side=True)
Dtest_base_events.py1457 server_side=False,
1470 server_side=False,
1483 server_side=False,
/third_party/libsoup/libsoup/
Dsoup-message.c226 priv->server_side = g_value_get_boolean (value); in soup_message_set_property()
227 if (priv->server_side) { in soup_message_set_property()
295 g_value_set_boolean (value, priv->server_side); in soup_message_get_property()
349 body = priv->server_side ? msg->request_body : msg->response_body; in soup_message_real_got_body()
1255 hdrs = priv->server_side ? msg->request_headers : msg->response_headers; in header_handler_metamarshal()
1453 if (priv->server_side) { in soup_message_cleanup_response()
1537 priv->server_side ? msg->request_body : msg->response_body, in soup_message_set_flags()
Dsoup-message-private.h23 gboolean server_side; member
/third_party/grpc/test/core/http/
Dtest_server.py64 server_side=True)
/third_party/python/Lib/test/
Dssl_servers.py37 sslconn = self.context.wrap_socket(sock, server_side=True)
Dtest_ssl.py646 ssl.wrap_socket, sock, server_side=True)
649 ssl.wrap_socket, sock, server_side=True, certfile="")
650 with ssl.wrap_socket(sock, server_side=True, certfile=CERTFILE) as s:
915 with test_wrap_socket(s, server_side=True, certfile=CERTFILE) as ss:
1806 with ctx.wrap_socket(socket.socket(), server_side=True) as sock:
1808 obj = ctx.wrap_bio(ssl.MemoryBIO(), ssl.MemoryBIO(), server_side=True)
1959 server = server_ctx.wrap_bio(s_in, s_out, server_side=True)
2010 self.assertFalse(s.server_side)
2018 self.assertFalse(s.server_side)
2421 self.sock, server_side=True)
[all …]
Dtest_poplib.py166 server_side=True,
Dtest_imaplib.py101 connstream = context.wrap_socket(newsocket, server_side=True)
Dtest_ftplib.py337 server_side=True,
Dtest_nntplib.py1622 client, server_side=True)
Dtest_logging.py967 sock = self.sslctx.wrap_socket(sock, server_side=True)
/third_party/python/Doc/library/
Dssl.rst117 with context.wrap_socket(sock, server_side=True) as ssock:
521 server_side=False, cert_reqs=CERT_NONE, ssl_version=PROTOCOL_TLS, \
537 The arguments *server_side*, *do_handshake_on_connect*, and
1421 .. attribute:: SSLSocket.server_side
1822 .. method:: SSLContext.wrap_socket(sock, server_side=False, \
1832 The parameter ``server_side`` is a boolean which identifies whether
1847 raise a :exc:`ValueError` if *server_side* is true.
1884 .. method:: SSLContext.wrap_bio(incoming, outgoing, server_side=False, \
1892 The *server_side*, *server_hostname* and *session* parameters have the
2369 connstream = context.wrap_socket(newsocket, server_side=True)
[all …]
Dasyncio-eventloop.rst790 sslcontext, *, server_side=False, \
807 * *server_side* pass ``True`` when a server-side connection is being
/third_party/python/Modules/
D_ssl.c4184 int server_side, PyObject *hostname_obj, in _ssl__SSLContext__wrap_socket_impl() argument
4199 server_side, hostname, in _ssl__SSLContext__wrap_socket_impl()
4221 PySSLMemoryBIO *outgoing, int server_side, in _ssl__SSLContext__wrap_bio_impl() argument
4236 res = (PyObject *) newPySSLSocket(self, NULL, server_side, hostname, in _ssl__SSLContext__wrap_bio_impl()
/third_party/libsoup/
DChangeLog.pre-git286 priv->server_side to TRUE, set the default encoding on the
288 (soup_message_cleanup_response): If priv->server_side is TRUE,