improved IOVEC management in http router

This commit is contained in:
roberto@quantal64
2012-07-15 07:53:27 +02:00
parent 0ee7ba6aae
commit 667b418e28
2 changed files with 13 additions and 0 deletions
+9
View File
@@ -16,10 +16,19 @@ extern struct uwsgi_server uwsgi;
#include "../corerouter/cr.h"
#ifdef __sun__
#define MAX_HTTP_VEC IOV_MAX*64
#else
#ifdef IOV_MAX
#define MAX_HTTP_VEC IOV_MAX
#else
#define MAX_HTTP_VEC 128
#endif
#define UWSGI_HTTP_SSL 1
#define UWSGI_HTTP_FORCE_SSL 2
#define HTTP_SSL_STATUS_SHUTDOWN 10
#endif
struct uwsgi_http {
+4
View File
@@ -113,6 +113,10 @@ extern char UWSGI_EMBED_CONFIG_END;
#ifndef __need_IOV_MAX
#define __need_IOV_MAX
#endif
#include <stdio.h>
#include <stdlib.h>