Nodejs http2 compatibility layer tests. Clarify differences between http.IncomingMessage http.OutgoingMessage and http2.Http2ServerRequest http2.Http2ServerResponse.
python3 tools/test.py -j 4 parallel sequential
-
http2.Http2ServerRequestdoes not havereq.connection.bytesWritten. test:parallel/test-http-byteswritten.js,parallel/test-https-byteswritten.js - If
http2.Http2ServerRequest.pauseis called,http2.Http2ServerRequest.socketnever emit 'data' event. test:parallel/test-http-dump-req-when-res-ends.js -
http2.Http2ServerResponse.writeHeadwith 'HTTP/1 Connection specific headers'(e.g. "Transfer-Encoding":"chunked") causes error:ERR_HTTP2_INVALID_CONNECTION_HEADERS. test:parallel/test-http-head-request.js -
http2.Http2ServerResponsedoes not haveres.writeProcessing. test:parallel/test-http-information-processing.js -
http2.Http2ServerResponse.writeHeadwith a spaced header name does not cause error. test:parallel/test-http-invalidheaderfield.js -
http2.Http2ServerRequestdoes not havereq.connection.parser. test:parallel/test-http-highwatermark.js,parallel/test-http-server-keepalive-end.js -
http2.Http2ServerResponse.endcalls callback before satisfying condition of 'finish' events. test:parallel/test-http-outgoing-finish.js -
http2.Http2ServerResponse.getHeadersreturns headers which is not initialized byObject.create(null)test:parallel/test-http-mutable-headers.js -
http2.Http2ServerResponsedoes not haveres.writableHighWaterMark. test:parallel/test-http-outgoing-properties.js related issue:nodejs/node#28969 -
http2.Http2ServerResponsedoes not haveres.writableLength. test:parallel/test-http-outgoing-properties.js related issue:nodejs/node#28969 -
http2.Http2ServerResponsedoes not haveres.writableFinished. test:parallel/test-http-outgoing-writableFinished.js related issue:nodejs/node#29230 -
http2.Http2ServerRequest.headersreturns headers which is initialized byObject.create(null)test:parallel/test-http-raw-headers.js -
http2.Http2ServerResponse.removeHeadercannot remove a header nodejs automatically adds(e.g. 'date'). test:parallel/test-http-remove-header-stays-removed.js -
http2.Http2ServerResponse.writeafterhttp2.Http2ServerResponse.endreturnsfalse. test:parallel/test-http-res-write-after-end.js -
http2.Http2ServerResponse.writeafterhttp2.Http2ServerResponse.enddoes not emmit 'error'. test:parallel/test-http-res-write-after-end.js,parallel/test-http-server-write-after-end.js -
http2.Http2ServerResponse.writewith array input does not cause an error. test:parallel/test-http-res-write-after-end.js -
http2.Http2ServerResponse.endwith array input does not cause an error. test:parallel/test-http-res-write-after-end.js -
http2.Http2ServerResponse's error code start with 'ERR_HTTP2'. test:parallel/test-http-response-add-header-after-sent.js,parallel/test-http-response-remove-header-after-sent.js,parallel/test-http-response-statuscode.js,parallel/test-http-write-head.js -
http2.Http2ServerResponse.setHeaderandhttp2.Http2ServerResponse.writeHeadwith multiple value of 'content-length' causes an error. test:parallel/test-http-response-multi-content-length.js -
http2.Http2ServerResponse.setHeaderandhttp2.Http2ServerResponse.writeHeadwith multiple value of 'content-type' or other headers expected single value causes an error. test:parallel/test-http-response-multiheaders.js -
http2.Http2ServerResponse.writeHeadwith invalid character does not cause error. test:parallel/test-http-response-splitting.js -
http2.Http2ServerResponsesending 'Trailer' header without 'transfer encoding: chunked' does not cause error. test:parallel/test-http-server-de-chunked-trailer.js -
http2.Http2ServerResponse.writeHeadcannot set multiple value of header with nested array. test:parallel/test-http-set-cookies.js -
http2.Http2ServerResponse.setTimeoutdoes not pass a socket to cb function. test:parallel/test-http-set-timeout-server.js -
http2.Http2ServerResponse.writeHeadwith invalid status message does not cause an error. test:parallel/test-http-status-reason-invalid-chars.js -
stream.pipe(http2.Http2ServerResponse)eventually emmits both 'finish' and 'close' events. test:parallel/test-http-writable-true-after-close.js -
http2.Http2ServerResponse.enddoes not execute callback whenhttp2.Http2ServerResponse.endhas already been called. test:parallel/test-http-outgoing-end-multiple.js related PR:nodejs/node#29229 - After
http2.Http2ServerRequest.connection.setTimeoutis called, 'timeout' event is not emitted. test:parallel/test-http-set-timeout.js
-
http2.connectwith http does pass options tonet.connect. test:parallel/test-http-localaddress.js related issue - Call
socket.destroywhile sending data cause a segmentation fault.(Only with WSL) test:test/parallel/test-https-close.js -
http2.Http2Serverdoes not haveserver.maxHeadersCount. test:parallel/test-http-max-headers-count.js
-
http2 semicoloned headers *
-
http2 does not support '100-continue'
-
http1 Connect Method
- http2 support it by :connect header
-
No Content-Length with body
-
Host header replaced by :authority
-
'Connection' Header has no efect with http2
-
Upgrade to the websocket