http-server.c revision 47fee1a942e4797548b1232354f6676b8ff809f4
/* Copyright (c) 2013-2016 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "net.h"
#include "str.h"
#include "hash.h"
#include "array.h"
#include "ioloop.h"
#include "istream.h"
#include "ostream.h"
#include "connection.h"
#include "dns-lookup.h"
#include "iostream-rawlog.h"
#include "iostream-ssl.h"
#include "http-url.h"
#include "http-server-private.h"
/*
* Server
*/
{
struct http_server *server;
return server;
}
{
}
{
/* move connections */
/* FIXME: we wouldn't necessarily need to switch all of them
immediately, only those that have requests now. but also connections
that get new requests before ioloop is switched again.. */
struct http_server_connection *conn =
(struct http_server_connection *)_conn;
}
}
{
struct http_server_connection *conn =
(struct http_server_connection *)_conn;
(void)http_server_connection_shut_down(conn);
}
}