Navigation Menu

Skip to content

Commit

Permalink
Trace when gracefully shutting down immediately
Browse files Browse the repository at this point in the history
  • Loading branch information
stash committed Oct 15, 2010
1 parent 1d70771 commit 76f5b14
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
1 change: 1 addition & 0 deletions Feersum.xs
Expand Up @@ -2049,6 +2049,7 @@ graceful_shutdown (SV *self, SV *cb)
close(accept_w.fd); close(accept_w.fd);


if (active_conns <= 0) { if (active_conns <= 0) {
trace("shutdown is immediate\n");
dSP; dSP;
ENTER; ENTER;
SAVETMPS; SAVETMPS;
Expand Down
7 changes: 0 additions & 7 deletions TODO
Expand Up @@ -31,13 +31,6 @@ Handle requests that don't require a body (optional entities).
start (not sure if there's a PSGI-compatible way to do this) start (not sure if there's a PSGI-compatible way to do this)
* different request timeout logic will be needed. * different request timeout logic will be needed.


Per-client "drain" and "completion" callbacks?

* drain sorta done as the $w->poll_cb()
* completion_cb is called when finished sending a full HTTP response. For
non-KA a guard on the conn object is sufficient, but for KA a callback is
needed.

Optimize env-hash Optimize env-hash


* allow Feersum apps to specify which vars will be needed (v1.1) * allow Feersum apps to specify which vars will be needed (v1.1)
Expand Down

0 comments on commit 76f5b14

Please sign in to comment.