You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 6, 2018. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 6, 2018. It is now read-only.
I'm getting some real-world traffic on my server and it occasionally throws these uncaught errors. Seems to be related to the socket timeout.
internal/http2/core.js:1992
this[kSession].shutdown(
^
TypeError: Cannot read property 'shutdown' of undefined
at TLSSocket.socketOnTimeout (internal/http2/core.js:1992:19)
at emitNone (events.js:110:20)
at TLSSocket.emit (events.js:207:7)
at TLSSocket.Socket._onTimeout (net.js:402:8)
at ontimeout (timers.js:488:11)
at tryOnTimeout (timers.js:323:5)
at Timer.listOnTimeout (timers.js:283:5)
Great, I'll give it a try! Will reopen if I find any issues. Thanks for this.
Been meaning to write that compat documentation but haven't had much time this week because we bought a new place. Learning a lot about plastering walls though. 🤷♂️
Activity
jasnell commentedon Jul 14, 2017
Looks like destroy is happening before the timeout, we need to make sure that destroying clears the timeout to avoid the issue here.
jasnell commentedon Jul 19, 2017
Think I have this one and in the process fixed another issue.
http2: fix socketOnTimeout and a segfault
sebdeckers commentedon Jul 20, 2017
Great, I'll give it a try! Will reopen if I find any issues. Thanks for this.
Been meaning to write that compat documentation but haven't had much time this week because we bought a new place. Learning a lot about plastering walls though. 🤷♂️
http2: fix socketOnTimeout and a segfault
http2: fix socketOnTimeout and a segfault
http2: fix socketOnTimeout and a segfault
http2: fix socketOnTimeout and a segfault
http2: fix socketOnTimeout and a segfault