Project

General

Profile

Bug #1812

lighttpd delays unnecessarily before exiting

Added by peto almost 12 years ago. Updated about 11 years ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
ASK QUESTIONS IN Forums:

Description

lighttpd spends unnecessary time waiting when ^C is pressed, even after connections are done closing down.

When srv_shutdown is set, continue so we don't sit in fdevent_poll for a full second.

When joining threads, wake them up, so we don't sit around for up to their full period. This has a minor hack because of an arbitrary limitation in glib: it refuses to queue NULL in an async queue.


Files

#1

Updated by peto almost 12 years ago

  • Status changed from New to Patch Pending
#2

Updated by peto over 11 years ago

gthread_aio patch for completeness, obvious but fell out of the original patch

#1795 would need this, too.

#3

Updated by stbuehler about 11 years ago

  • Status changed from Patch Pending to Fixed
  • % Done changed from 0 to 100

Applied in changeset r2538.

Also available in: Atom