/unit/src/nodejs/unit-http/ |
H A D | websocket_router_request.js | 49 WebSocketRouterRequest.prototype.reject = function(status, reason, extraHeaders) { argument 50 this.webSocketRequest.reject(status, reason, extraHeaders);
|
H A D | websocket_request.js | 448 WebSocketRequest.prototype.reject = function(status, reason, extraHeaders) { argument 464 if (reason) { 465 reason = reason.replace(headerSanitizeRegExp, ''); 466 response.addHeader('X-WebSocket-Reject-Reason', reason);
|
H A D | http_server.js | 180 function writeHead(statusCode, reason, obj) { argument 189 if (typeof reason === 'string') { 190 this.statusMessage = reason; 197 obj = reason;
|
/unit/test/unit/applications/ |
H A D | websockets.py | 68 def serialize_close(self, code=1000, reason=''): argument 69 return struct.pack('!H', code) + reason.encode('utf-8') 124 reason = data[2:].decode('utf-8') 128 frame['reason'] = reason
|
/unit/test/ |
H A D | test_tls_tickets.py | 84 reason='ticket check is not supported', 110 reason='ticket check is not supported', 147 reason='ticket check is not supported',
|
H A D | test_tls_session.py | 78 reason='session reuse is not supported', 119 reason='session reuse is not supported',
|
H A D | test_java_websockets.py | 1149 payload = ws.serialize_close(reason='Hello World!') 1158 payload = ws.serialize_close(reason='*' * 123) 1167 payload = ws.serialize_close(reason='*' * 124)
|
H A D | test_node_websockets.py | 1169 payload = ws.serialize_close(reason='Hello World!') 1178 payload = ws.serialize_close(reason='*' * 123) 1187 payload = ws.serialize_close(reason='*' * 124)
|
H A D | test_asgi_websockets.py | 1221 payload = ws.serialize_close(reason='Hello World!') 1230 payload = ws.serialize_close(reason='*' * 123) 1239 payload = ws.serialize_close(reason='*' * 124)
|
/unit/src/java/nginx/unit/websocket/ |
H A D | WsSession.java | 637 String reason = closeReason.getReasonPhrase(); in sendCloseMessage() local 638 if (reason != null && reason.length() > 0) { in sendCloseMessage() 639 appendCloseReasonWithTruncation(msg, reason); in sendCloseMessage() 669 protected static void appendCloseReasonWithTruncation(ByteBuffer msg, String reason) { in appendCloseReasonWithTruncation() argument 674 byte[] reasonBytes = reason.getBytes(StandardCharsets.UTF_8); in appendCloseReasonWithTruncation() 683 byte[] bytesNext = reason.substring(pos, pos + 1).getBytes(StandardCharsets.UTF_8); in appendCloseReasonWithTruncation() 688 bytesNext = reason.substring(pos, pos + 1).getBytes(StandardCharsets.UTF_8); in appendCloseReasonWithTruncation()
|
H A D | WsFrameBase.java | 318 String reason = null; in processDataControl() local 343 reason = controlBufferText.toString(); in processDataControl() 346 wsSession.onClose(new CloseReason(Util.getCloseCode(code), reason)); in processDataControl()
|
H A D | LocalStrings.properties | 66 wsFrame.invalidUtf8Close=A WebSocket close frame was received with a close reason that contained in… 99 # Note the following message is used as a close reason in a WebSocket control 121 # Note the following message is used as a close reason in a WebSocket control
|
/unit/auto/os/ |
H A D | test | 79 # for some reason, so use a portable echo.c program built
|
/unit/src/ |
H A D | nxt_cert.c | 101 long length, reason; in nxt_cert_bio() local 123 reason = ERR_GET_REASON(ERR_peek_last_error()); in nxt_cert_bio() 124 if (reason != PEM_R_NO_START_LINE) { in nxt_cert_bio()
|
H A D | nxt_openssl.c | 455 long reason; local 489 reason = ERR_GET_REASON(ERR_peek_last_error()); 490 if (reason != PEM_R_NO_START_LINE) {
|
/unit/ |
H A D | README.md | 77 choosing PHP for no particular reason.
|
H A D | LICENSE | 174 incurred by, or claims asserted against, such Contributor by reason
|
/unit/pkg/deb/debian.module/ |
H A D | copyright.unit-jsc-common | 459 incurred by, or claims asserted against, such Contributor by reason
|
/unit/pkg/rpm/rpmbuild/SOURCES/ |
H A D | COPYRIGHT.unit-jsc-common | 459 incurred by, or claims asserted against, such Contributor by reason
|