mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-06 13:41:28 +00:00
little bugfix for 64bit apache2
This commit is contained in:
@@ -10,8 +10,10 @@
|
||||
- new functions for embedded module
|
||||
- reliable harakiri
|
||||
- better Makefiles
|
||||
- proper timeotu handling in apache2 module
|
||||
- proper timeout handling in apache2 module
|
||||
- endianess fixes all over the place
|
||||
- paste support
|
||||
- Django app for managing and monitoring the uWSGI server
|
||||
- lot of bugfixes and optimizations
|
||||
|
||||
*** 20091129 Version 0.9.3 ***
|
||||
|
||||
+4
-4
@@ -96,9 +96,9 @@ static int uwsgi_add_var(struct iovec *vec, int i, char *key, char *value, uint1
|
||||
|
||||
#if APR_IS_BIGENDIAN
|
||||
ptr = (char *) &vec[i+2].iov_len;
|
||||
vec[i].iov_base = ptr+3 ;
|
||||
vec[i].iov_base = ptr+sizeof(long)-1 ;
|
||||
vec[i].iov_len = 1 ;
|
||||
vec[i+1].iov_base = ptr+2 ;
|
||||
vec[i+1].iov_base = ptr+sizeof(long)-2 ;
|
||||
vec[i+1].iov_len = 1 ;
|
||||
#else
|
||||
vec[i].iov_base = &vec[i+1].iov_len ;
|
||||
@@ -116,9 +116,9 @@ static int uwsgi_add_var(struct iovec *vec, int i, char *key, char *value, uint1
|
||||
|
||||
#if APR_IS_BIGENDIAN
|
||||
ptr = (char *) &vec[i+5].iov_len;
|
||||
vec[i+3].iov_base = ptr+3 ;
|
||||
vec[i+3].iov_base = ptr+sizeof(long)-1 ;
|
||||
vec[i+3].iov_len = 1 ;
|
||||
vec[i+4].iov_base = ptr+2 ;
|
||||
vec[i+4].iov_base = ptr+sizeof(long)-2 ;
|
||||
vec[i+4].iov_len = 1 ;
|
||||
#else
|
||||
vec[i+2].iov_base = &vec[i+3].iov_len ;
|
||||
|
||||
Reference in New Issue
Block a user