diff options
author | Anna Henningsen <anna@addaleax.net> | 2018-07-16 22:31:28 +0200 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2018-07-19 12:11:42 +0200 |
commit | 2d32a7e90a510044330d55c599ad6c59e92779f5 (patch) | |
tree | 51049bc65d3559f94ce469dd181b27ea20ff87be /src/node_http2.h | |
parent | 5e5ffc81fa823221777ab7c9fed33093afdfa876 (diff) | |
download | android-node-v8-2d32a7e90a510044330d55c599ad6c59e92779f5.tar.gz android-node-v8-2d32a7e90a510044330d55c599ad6c59e92779f5.tar.bz2 android-node-v8-2d32a7e90a510044330d55c599ad6c59e92779f5.zip |
src: use offset calc. instead of `req->data` in node_file
A small refactor – this removes one layer of pointer indirection.
(The performance gain is likely negligible, the main point here
being that this encapsulates libuv request management a bit more.)
PR-URL: https://github.com/nodejs/node/pull/21839
Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Diffstat (limited to 'src/node_http2.h')
0 files changed, 0 insertions, 0 deletions