Re: [PATCH] HTTP Redirect Fix

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization The Kannel Group
Message-ID <[email protected]>
Jonathan Houser wrote:

> 
>      The HTTP redirects were failing because indeed Kannel was trying to 
> read a body that wasn't there.  The patch adds a check for a length of 0 
> as specified by Content-Length, and if found it sets the state to 
> entity_done.  This all happens in deduce_body_state() within http.c. 
> Attached is the diff of my code vs. CVS.  This fixed both my local WAP 
> homepage redirect and the Hotmail redirect.

ok, this is a bug. But nothing to do in general with redirecting (HTTP 302).

I'll file a bug to mantis to keep this documented.

Stipe

mailto:stolj_{at}_wapme.de
-------------------------------------------------------------------
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf, NRW, Germany

phone: +49.211.74845.0
fax: +49.211.74845.299

mailto:info_{at}_wapme-systems.de
http://www.wapme-systems.de/
-------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.