| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 478dbee commit 793a5bb
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -24,7 +24,7 @@ server.listen(0, common.mustCall(() => { | |||
| 24 | 24 | const req = client.request(); | |
| 25 | 25 | ||
| 26 | 26 | req.on('response', common.mustCall(() => {})); | |
| 27 | - req.on('data', common.mustCallAtLeast(() => { | ||
| 27 | + req.once('data', common.mustCall(() => { | ||
| 28 | 28 | net.Socket.prototype.destroy.call(client.socket); | |
| 29 | 29 | server.close(); | |
| 30 | 30 | })); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments