168 |
|
|
169 |
|
if (!IsDead(client_p)) |
170 |
|
{ |
171 |
< |
/* attempt to flush any pending dbufs. Evil, but .. -- adrian */ |
172 |
< |
/* there is still a chance that we might send data to this socket |
173 |
< |
* even if it is marked as blocked (COMM_SELECT_READ handler is called |
174 |
< |
* before COMM_SELECT_WRITE). Let's try, nothing to lose.. -adx |
171 |
> |
/* |
172 |
> |
* Flush pending write buffer, if any, but first clear the |
173 |
> |
* cork as it no longer matters, this connection is being |
174 |
> |
* closed now |
175 |
|
*/ |
176 |
+ |
DelFlag(client_p, FLAGS_CORK); |
177 |
|
send_queued_write(client_p); |
178 |
|
} |
179 |
|
|