Project

General

Profile

Actions

Bug #1812

closed

lighttpd delays unnecessarily before exiting

Added by peto over 15 years ago. Updated almost 15 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

Actions #1

Updated by peto over 15 years ago

  • Status changed from New to Patch Pending
Actions #2

Updated by peto over 15 years ago

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

#1795 would need this, too.

Actions #3

Updated by stbuehler almost 15 years ago

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

Applied in changeset r2538.

Actions

Also available in: Atom