http-server.c revision e1a4ea6ad3e799ef8df7395e765c0ae9218e6c5d
/* 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);
}
}