httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Garrett Rooney <>
Subject [PATCH] mod_proxy_fcgi - fix calcuation of request id and content length
Date Fri, 30 Dec 2005 23:18:07 GMT
There's a small bug in the fastcgi header parsing code, the chars need
to be treated as unsigned in order for all the shifting to work

Log follows, patch attached.


Fix the extraction of shorts from the header parsing code.

* modules/proxy/mod_proxy_fcgi.c
  (dispatch): Cast the parts of the short values to unsigned before shifting
   and oring them together.

View raw message