File tree 1 file changed +28
-2
lines changed
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.
74
74
The low-level implementation of the
75
75
[ HTTP] ( https://nodejs.org/docs/latest/api/http.html )
76
76
and [ 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 )
78
78
repository. 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
+ ```
80
106
81
107
The low-level implementation is made available in the Node.js API through
82
108
JavaScript code in the [ lib] ( https://github.com/nodejs/node/tree/HEAD/lib )
You canβt perform that action at this time.
0 commit comments