2 Unix SMB/CIFS implementation.
4 Copyright (C) Andrew Tridgell 2005
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
20 #include "smbd/process_model.h"
23 context of one open web connection
25 struct websrv_context {
26 struct task_server *task;
27 struct stream_connection *conn;
35 unsigned content_length;
37 const char *content_type;
38 const char *query_string;
39 const char *user_agent;
42 const char *accept_encoding;
43 const char *accept_language;
44 const char *accept_charset;
46 const char *session_key;
56 struct session_data *session;
61 context for long term storage in the web server, to support session[]
62 and application[] data. Stored in task->private.
66 struct session_data *next, *prev;
67 struct esp_data *edata;
70 struct timed_event *te;
73 struct MprVar *application_data;
74 struct tls_params *tls_params;
77 #include "web_server/proto.h"