Age | Commit message (Collapse) | Author |
|
Some servers use ports_manage_port_operations_one_thread to process
requests and terminate when it returns. Since many of them don't detach
before shutting down, a client may receive an error if its request
arrived while the server is shutting down. Prevent those spurious errors
by forcing ports_manage_port_operations_one_thread not to return.
This is the same change as 235491231bdd1fd93507c835767503f047e10b91
introduced for ports_manage_port_operations_multithread.
* libports/manage-one-thread.c
(ports_manage_port_operations_one_thread): Force timeout to 0.
|
|
* Fix spelling with codespell[1] and manually review it.
[1] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
|
|
statuses and errors rather than just zero.
|
|
before doing work; we might return 0 and mach_msg_server expects us to
fill in a reply decently no matter what.
(ports_manage_port_operations_multithread): Likewise.
|
|
Pass INP->msgh_id to ports_begin_rpc, and only call DEMUXER if it returns 0.
|
|
|
|
attempt RPC if we can't get a valid port struct.
|
|
|