fixed WSGI headers sending in websocket mode

This commit is contained in:
roberto@quantal64
2012-06-17 13:10:34 +02:00
parent 839962370a
commit e796a57f14
+2
View File
@@ -253,6 +253,8 @@ PyObject *py_uwsgi_spit(PyObject * self, PyObject * args) {
int uwsgi_python_do_send_headers(struct wsgi_request *wsgi_req) {
if (!wsgi_req->headers_hvec) return 0;
#ifdef __sun__
int remains = wsgi_req->headers_hvec + 1;
int iov_size;