]> git.ipfire.org Git - thirdparty/squid.git/commit
Summary: Callback event loop was busted.
authorrobertc <>
Mon, 23 Jun 2003 16:39:52 +0000 (16:39 +0000)
committerrobertc <>
Mon, 23 Jun 2003 16:39:52 +0000 (16:39 +0000)
commit010ffcf0050ef5b8fe7e81f0dd5d79c1fad90567
tree5e24afaf33ed1ee382b735b2e793cffe9dfd4744
parent42fc2858a400d70a4b859f0c16fbe9aa1798a4b0
Summary: Callback event loop was busted.
Keywords:

The comms callback event loop was not dereferencing the dlink_node correctly, leading to comparing the sequence number to a pointer. Once again, typecasts leads to bugs :[.
* Increment sequence number on each loop.
* Compare to the event's record sequence number.
* Add a virtual destructor to CommCallbackData to remove some (spurious) warnings that apply to the synthetic constructor under -some- gcc's.
src/comm.cc