move msg_control union to end of struct wsgi_request (as suggested by Riccardo Magliocchetti)

This commit is contained in:
roberto@mrspurr
2011-06-07 20:02:24 +02:00
parent ab21a1ac00
commit 44213ca510
+7 -8
View File
@@ -668,14 +668,6 @@ struct wsgi_request {
//iovec
struct iovec *hvec;
struct msghdr msg;
union {
struct cmsghdr cmsg;
#ifndef __NetBSD__
char control [CMSG_SPACE (sizeof (int))];
#endif
} msg_control;
struct timeval start_of_request;
struct timeval end_of_request;
@@ -803,6 +795,13 @@ struct wsgi_request {
int sigwait;
uint8_t signal_received;
struct msghdr msg;
union {
struct cmsghdr cmsg;
char control [CMSG_SPACE (sizeof (int))];
} msg_control;
};
struct uwsgi_fmon {