buffer = (char *)buf->buffer + buf->off;
space = buf->totallen - buf->misalign - buf->off;
+#ifndef va_copy
+#define va_copy(dst, src) memcpy(&(dst), &(src), sizeof(va_list))
+#endif
va_copy(aq, ap);
#ifdef WIN32
* on the connection, so that we can reply to it.
*/
if (evcon->flags & EVHTTP_CON_OUTGOING) {
+ int need_close;
TAILQ_REMOVE(&evcon->requests, req, next);
req->evcon = NULL;
- int need_close =
+ need_close =
evhttp_is_connection_close(req->input_headers) ||
evhttp_is_connection_close(req->output_headers);