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`.
994
994
995
995
When something goes wrong when opening the file, ` createWriteStream `
996
996
will 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
999
999
reject the promise. When ` pipe ` is done, it will close the output
1000
1000
stream, which causes it to fire a ` "finish" ` event. That's the point
1001
1001
where 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>
114
114
115
115
< h2 > Chapter 20</ h2 >
116
116
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
+
117
121
< p > < strong > Page 369</ strong > (1st) < em > Directory
118
122
Creation</ em > : < code > MKCOL</ code > stands for “make collection”, not “make
119
123
column” as the book claims.</ p >
You can’t perform that action at this time.
0 commit comments