Files
node/test/parallel
Anna Henningsen 4871779542 http: set socket.server unconditionally
This is useful for situations in which the socket was not
created for HTTP, e.g. when using arbitrary `Duplex` streams.

(The added test fails because previously, `socket.server.emit()`
would not work for emitting the `clientError` event, as
`socket.server` was `undefined`.)

PR-URL: https://github.com/nodejs/node/pull/30571
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2019-11-29 16:27:35 +01:00
..
2019-11-29 14:19:51 +05:30
2019-06-06 19:38:34 -04:00
2018-12-10 17:07:18 +01:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-04-16 03:37:03 +02:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-08-07 13:27:55 -07:00
2019-03-23 02:55:54 +01:00
2019-11-17 21:13:08 +05:30
2019-03-23 02:55:54 +01:00
2019-08-07 13:27:55 -07:00
2019-03-23 02:55:54 +01:00
2019-11-13 17:04:22 +00:00
2018-12-10 17:07:18 +01:00
2019-06-26 16:34:23 +08:00
2019-04-16 03:37:03 +02:00
2019-05-02 23:22:38 +02:00
2019-03-20 07:48:25 -07:00
2019-03-20 07:48:25 -07:00
2019-03-20 07:48:25 -07:00
2019-03-20 07:48:25 -07:00
2019-03-20 07:48:25 -07:00
2019-03-20 07:48:25 -07:00
2019-01-05 21:36:47 +01:00