Skip to content

issues Search Results · repo:thedillonb/http-shutdown language:JavaScript

Filter by

10 results
 (77 ms)

10 results

inthedillonb/http-shutdown (press backspace or delete to remove)

I have answered a variation of how to terminate a HTTP server many times on different Node.js support channels. Unfortunately, I couldn t recommend any of the existing libraries because they are lacking ...
  • gajus
  • Opened 
    on Jan 20, 2020
  • #19

The following code blocks with Node 12.2.0 with --experimental-modules (I didn t try without it so the issue might be related): import http from http ; import http_shutdown from http-shutdown ; let ...
  • Klaim
  • 2
  • Opened 
    on Sep 15, 2019
  • #16

When I process a longer running request (aboz 2 seconds). The request will be destroyed before termination. Is there any chance to have those requests processed befor the server is destroyed?
  • jochenonline
  • 5
  • Opened 
    on Aug 2, 2018
  • #12

According to Net module documentation https://nodejs.org/api/net.html#net_server_close_callback Stops the server from accepting new connections and keeps existing connections. This function is asynchronous, ...
  • stalniy
  • 1
  • Opened 
    on Dec 18, 2017
  • #11

Hello! I m trying to use this module with Express, but I m getting some weird behavior with this peace of code: server.on( request , function(req, res) { req.socket._isIdle = false; res.on( finish ...
  • slavafomin
  • Opened 
    on May 31, 2017
  • #9

Hello! Thank you for this great module! I ve spent very hard time looking for solution of graceful shutdown. However, I m using Express, which provides access to server only after listen() is called. ...
  • slavafomin
  • 2
  • Opened 
    on May 30, 2017
  • #8

Currently, shutdown callback called almost immediately after calling server.shutdown() (by process.nextTick). It seems that more desirable behaviour would be to wait for all connections to close to give ...
  • rmdm
  • 1
  • Opened 
    on May 9, 2017
  • #7

I didn t dig into this too deeply, but I noticed that the sockets attached to req in the server.on( request , fn) event handler have an undefined _connectionId property. This makes me wonder if the destroy ...
  • ehynds
  • 2
  • Opened 
    on Aug 24, 2016
  • #3

Although, I have not confirmed this with any tests, It seems to me that the shutdown method would prematurely close sockets on an http server used as the backend for a WebSocket server. It seems to me ...
  • DetweilerRyan
  • 3
  • Opened 
    on Aug 11, 2016
  • #2

The code looks good, but I m curious how battle tested this is.
  • gabegorelick
  • 7
  • Opened 
    on Apr 28, 2016
  • #1
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub