Searched refs:npn_protocols (Results 1 – 4 of 4) sorted by relevance
371 def set_npn_protocols(self, npn_protocols): argument373 for protocol in npn_protocols:540 suppress_ragged_eofs=True, npn_protocols=None, ciphers=None, argument561 if npn_protocols:562 self._context.set_npn_protocols(npn_protocols)
315 unsigned char *npn_protocols; member2228 self->npn_protocols = NULL; in context_new()2306 PyMem_FREE(self->npn_protocols); in context_dealloc()2370 if (ssl_ctx->npn_protocols == NULL) { in _advertiseNPN_cb()2374 *data = ssl_ctx->npn_protocols; in _advertiseNPN_cb()2389 ctx->npn_protocols, ctx->npn_protocols_len); in _selectNPN_cb()2402 if (self->npn_protocols != NULL) { in _set_npn_protocols()2403 PyMem_Free(self->npn_protocols); in _set_npn_protocols()2406 self->npn_protocols = PyMem_Malloc(protos.len); in _set_npn_protocols()2407 if (self->npn_protocols == NULL) { in _set_npn_protocols()[all …]
532 def set_npn_protocols(self, npn_protocols): argument539 for protocol in npn_protocols:
1781 npn_protocols=None, alpn_protocols=None, argument1795 if npn_protocols:1796 self.context.set_npn_protocols(npn_protocols)