| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Remove duplicate code through minor refactoring.
There was a problem hiding this comment.
LGTM with a suggestion.
Sorry, something went wrong.
|
|
||
| class SubmitTrailers { | ||
| public: | ||
| void operator ()(nghttp2_nv* trailers, size_t length) const; |
There was a problem hiding this comment.
Making this a normal method called .Send() or whatever is clearer, IMO. No risk of confusing method calls with plain function calls.
Sorry, something went wrong.
There was a problem hiding this comment.
Woo! 🎈
Sorry, something went wrong.
Sorry, something went wrong.
Remove duplicate code through minor refactoring. PR-URL: #14688 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James Snell <jasnell@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Remove duplicate code through minor refactoring. PR-URL: nodejs#14688 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James Snell <jasnell@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Remove duplicate code through minor refactoring. PR-URL: #14688 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James Snell <jasnell@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
| Back | FazBrowse Home | New Git URL |
Remove duplicate code through minor refactoring.
Checklist
Affected core subsystem(s)
src/http2