squid-2.HEAD: some changes to client_side.c for invalid requests.

From: Alexander V. Lukyanov <lav_at_netis.ru>
Date: Mon, 8 Sep 2008 14:49:50 +0400

Hello!

I'm using these changes for some time. Maybe they will be useful.

1. Set conn->transparent early after connection establishment and reset
connection on transparent connections when there is no valid request.

2. Check http->entry && http->entry->mem_obj && http->entry->mem_obj->reply
to avoid NULL pointer dereference (I had one quite some time ago).

3. create method object even for invalid requests (this fixes null pointer
dereferences in many other places).

-- 
   Alexander.


Received on Mon Sep 08 2008 - 10:52:30 MDT

This archive was generated by hypermail 2.2.0 : Mon Sep 08 2008 - 12:00:04 MDT