http2: fix refs to status 205, add tests#15153
http2: fix refs to status 205, add tests#15153apapirovski wants to merge 1 commit intonodejs:masterfrom
Conversation
1f43abc to
166bad4
Compare
|
Reference from spec:
|
cjihrig
left a comment
There was a problem hiding this comment.
This needs some common.mustCall()s added throughout. I didn't comment on all of them.
There was a problem hiding this comment.
common.mustCall() here please.
|
Thanks @cjihrig. Fixed now. |
|
Getting a consistent failure on |
Fix references within http2 core to HTTP_STATUS_CONTENT_RESET to point to the correct HTTP_STATUS_RESET_CONTENT. Add tests for status 204, 205 & 304 in respond, respondWithFD & respondWithFile. Add general error tests for respondWithFD & respondWithFile.
04011b5 to
9b21d7f
Compare
|
My bad. Fixed now. Thanks for the review @jasnell! |
|
All green this time, awesome. Thanks for the reviews everyone. |
Fix references within http2 core to HTTP_STATUS_CONTENT_RESET to point to the correct HTTP_STATUS_RESET_CONTENT. Add tests for status 204, 205 & 304 in respond, respondWithFD & respondWithFile. Add general error tests for respondWithFD & respondWithFile. PR-URL: nodejs#15153 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
|
Landed in 45357d0 |
Fix references within http2 core to HTTP_STATUS_CONTENT_RESET to point to the correct HTTP_STATUS_RESET_CONTENT. Add tests for status 204, 205 & 304 in respond, respondWithFD & respondWithFile. Add general error tests for respondWithFD & respondWithFile. PR-URL: #15153 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Fix references within http2 core to HTTP_STATUS_CONTENT_RESET to point to the correct HTTP_STATUS_RESET_CONTENT. Add tests for status 204, 205 & 304 in respond, respondWithFD & respondWithFile. Add general error tests for respondWithFD & respondWithFile. PR-URL: nodejs#15153 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This started out as just tests for throwing errors within
respondWithFile&respondWithFDand ended up adding a bit extra because of finding an incorrect reference forHTTP_STATUS_CONTENT_RESETin http2/core.HTTP_STATUS_CONTENT_RESETto point to the correctHTTP_STATUS_RESET_CONTENTrespond,respondWithFD&respondWithFilerespondWithFD&respondWithFileLet me know if there's anything I can adjust. Thanks.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
http2, test