MCPcopy
hub / github.com/benoitc/gunicorn / ssl_wrap_socket

Function ssl_wrap_socket

gunicorn/sock.py:285–289  ·  view source on GitHub ↗
(sock, conf)

Source from the content-addressed store, hash-verified

283
284
285def ssl_wrap_socket(sock, conf):
286 return ssl_context(conf).wrap_socket(sock,
287 server_side=True,
288 suppress_ragged_eofs=conf.suppress_ragged_eofs,
289 do_handshake_on_connect=conf.do_handshake_on_connect)
290
291
292def get_negotiated_protocol(ssl_socket):

Callers

nothing calls this directly

Calls 1

ssl_contextFunction · 0.70

Tested by

no test coverage detected