File tree Expand file tree Collapse file tree 1 file changed +28
-2
lines changed Expand file tree Collapse file tree 1 file changed +28
-2
lines changed Original file line number Diff line number Diff line change @@ -74,9 +74,35 @@ to align them with the APIs built for the client.
7474The low-level implementation of the
7575[ HTTP] ( https://nodejs.org/docs/latest/api/http.html )
7676and [ HTTPS] ( https://nodejs.org/docs/latest/api/https.html ) APIs
77- are maintained in the [ llttp ] ( https://github.com/nodejs/llhttp )
77+ are maintained in the [ llhttp ] ( https://github.com/nodejs/llhttp )
7878repository. Updates are pulled into Node.js under
79- [ deps/llhttp] ( https://github.com/nodejs/node/tree/HEAD/deps/llhttp )
79+ [ deps/llhttp] ( https://github.com/nodejs/node/tree/HEAD/deps/llhttp ) .
80+
81+ In order to update Node.js with a new version of llhttp:
82+
83+ * check out the tagged release that you want to update to (a release
84+ should be created in the llhttp repo before updating Node.js).
85+ * run ` npm install ` in the directory that you checked out llhttp.
86+ * run ` make release ` in the directory that you checked out llhttp.
87+ * copy the contents of the ` release ` directory from the directory you
88+ checked llhttp out to
89+ [ deps/llhttp] ( https://github.com/nodejs/node/tree/HEAD/deps/llhttp )
90+
91+ It should look like the following:
92+
93+ ``` console
94+ βββ CMakeLists.txt
95+ βββ common.gypi
96+ βββ include
97+ β βββ llhttp.h
98+ βββ LICENSE-MIT
99+ βββ llhttp.gyp
100+ βββ README.md
101+ βββ src
102+ βββ api.c
103+ βββ http.c
104+ βββ llhttp.c
105+ ```
80106
81107The low-level implementation is made available in the Node.js API through
82108JavaScript code in the [ lib] ( https://github.com/nodejs/node/tree/HEAD/lib )
You canβt perform that action at this time.
0 commit comments