preprocessing tags

This commit is contained in:
lv-426
2008-07-09 19:26:24 +00:00
parent 8a60f9f2fa
commit 08ee1d01c9
3 changed files with 9 additions and 2 deletions
+2
View File
@@ -1594,6 +1594,7 @@ MHD_connection_handle_write (struct MHD_Connection *connection)
break;
}
/* TODO clean - missing MSG_NOSIGNAL on gnutls record send call */
#if HTTPS_SUPPORT
if (connection->daemon->options & MHD_USE_SSL)
{
ret = gnutls_record_send (connection->tls_session,
@@ -1606,6 +1607,7 @@ MHD_connection_handle_write (struct MHD_Connection *connection)
response->data_start));
}
else
#endif
{
ret = SEND (connection->socket_fd,
&response->data[connection->
+2 -1
View File
@@ -864,6 +864,7 @@ MHD_start_daemon (unsigned int options,
retVal->max_connections = MHD_MAX_CONNECTIONS_DEFAULT;
retVal->pool_size = MHD_POOL_SIZE_DEFAULT;
retVal->connection_timeout = 0; /* no timeout */
#if HTTPS_SUPPORT
if (options & MHD_USE_SSL)
{
/* lock gnutls_global mutex since it uses reference counting */
@@ -874,7 +875,7 @@ MHD_start_daemon (unsigned int options,
gnutls_priority_init (&retVal->priority_cache,
"NONE:+AES-256-CBC:+RSA:+SHA1:+COMP-NULL", NULL);
}
#endif
/* initializes the argument pointer variable */
va_start (ap, dh_cls);
/*
+5 -1
View File
@@ -1,4 +1,8 @@
SUBDIRS = . https
SUBDIRS = .
if ENABLE_HTTPS
SUBDIRS += https
endif
AM_CPPFLAGS = \
-I$(top_srcdir)/src/daemon/https/includes \