]> git.ipfire.org Git - thirdparty/squid.git/commit
This change should fix bug #1829.
authorrousskov <>
Thu, 12 Apr 2007 23:56:39 +0000 (23:56 +0000)
committerrousskov <>
Thu, 12 Apr 2007 23:56:39 +0000 (23:56 +0000)
commit6a786390fc10775fc9b9d28da2daacdabf36a649
treeca893418886d043b523585d5056172c508aa3ac1
parent6a52823b02567168bf397199c205238fc246aeac
This change should fix bug #1829.

The DiskdFile::close function calls the DiskdIOStrategy::send function and
consequently the DiskdIOStrategy::SEND function, with shm_offset value of -1.
If the msgsnd in SEND fails, the SharedMemory::put function is called with
offset=-1, triggering an abort.

Patch by Christos Tsantilas. Reviewed by Guido Serassio and Duane Wessels.
src/DiskIO/DiskDaemon/DiskdIOStrategy.cc