Opened 12 days ago

Closed 2 days ago

#1616 closed enhancement (wontfix)

Add stop-server procedure to spiffy

Reported by: sjamaan Owned by: sjamaan
Priority: minor Milestone: someday
Component: extensions Version: 5.0.0
Keywords: spiffy Cc:
Estimated difficulty: easy

Description

In some cases, it can be useful to gracefully stop accepting new connections so that the main thread can return. Useful when spawning a temporary server or so.

Change History (1)

comment:1 Changed 2 days ago by sjamaan

  • Resolution set to wontfix
  • Status changed from new to closed

With the current design, this is very difficult; we can't stop a "hanging" accept call, which is what Spiffy does immediately upon entering the accept loop. When a request is handled, it fires off a thread to handle the request and loops to accept the next incoming request.

Note: See TracTickets for help on using tickets.