File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -994,8 +994,8 @@ outcome of calling `pipe`.
994994
995995When something goes wrong when opening the file, ` createWriteStream `
996996will still return a stream, but that stream will fire an ` "error" `
997- event. The output stream to the request may also fail, for example if
998- the network goes down. So we wire up both streams' ` "error" ` events to
997+ event. The stream from the request may also fail, for example if the
998+ network goes down. So we wire up both streams' ` "error" ` events to
999999reject the promise. When ` pipe ` is done, it will close the output
10001000stream, which causes it to fire a ` "finish" ` event. That's the point
10011001where we can successfully resolve the promise (returning nothing).
Original file line number Diff line number Diff line change @@ -114,6 +114,10 @@ <h2>Chapter 19</h2>
114114
115115< h2 > Chapter 20</ h2 >
116116
117+ < p > < strong > Page 367</ strong > < em > A File Server</ em > : The part that
118+ talks about “the output stream to the request” should say “the stream
119+ from the request” instead.</ p >
120+
117121< p > < strong > Page 369</ strong > (1st) < em > Directory
118122Creation</ em > : < code > MKCOL</ code > stands for “make collection”, not “make
119123column” as the book claims.</ p >
You can’t perform that action at this time.
0 commit comments