mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:17:44 +00:00
RequestServer: Use an OwnPtr for cached connections
Otherwise we'd end up trying to delete the wrong connection if a connection made before us is deleted. Fixes _some_ RequestServer spins (though not all...). This commit also adds a small debug mechanism to RequestServer (which can be enabled by turning REQUEST_SERVER_DEBUG on), that can dump all the current active connections in the cache, what they're doing, and how long they've been doing that by sending it a SIGINFO.
This commit is contained in:
parent
ef9b8ff0c7
commit
398435277b
5 changed files with 89 additions and 26 deletions
|
@ -141,6 +141,7 @@ set(PTHREAD_DEBUG ON)
|
|||
set(PTMX_DEBUG ON)
|
||||
set(REACHABLE_DEBUG ON)
|
||||
set(REGEX_DEBUG ON)
|
||||
set(REQUEST_SERVER_DEBUG ON)
|
||||
set(RESIZE_DEBUG ON)
|
||||
set(RESOURCE_DEBUG ON)
|
||||
set(ROUTING_DEBUG ON)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue