]> git.pld-linux.org Git - packages/lighttpd.git/blob - lighttpd-branch.diff
- up to r2417
[packages/lighttpd.git] / lighttpd-branch.diff
1 Index: configure.in
2 ===================================================================
3 Index: src/configfile-glue.c
4 ===================================================================
5 --- src/configfile-glue.c       (.../tags/lighttpd-1.4.22)      (revision 2417)
6 +++ src/configfile-glue.c       (.../branches/lighttpd-1.4.x)   (revision 2417)
7 @@ -181,7 +181,7 @@
8         return config_insert_values_internal(srv, ca, cv);
9  }
10  
11 -unsigned short sock_addr_get_port(sock_addr *addr) {
12 +static unsigned short sock_addr_get_port(sock_addr *addr) {
13  #ifdef HAVE_IPV6
14         return ntohs(addr->plain.sa_family ? addr->ipv6.sin6_port : addr->ipv4.sin_port);
15  #else
16 Index: src/mod_cgi.c
17 ===================================================================
18 --- src/mod_cgi.c       (.../tags/lighttpd-1.4.22)      (revision 2417)
19 +++ src/mod_cgi.c       (.../branches/lighttpd-1.4.x)   (revision 2417)
20 @@ -1369,6 +1369,7 @@
21  }
22  
23  
24 +int mod_cgi_plugin_init(plugin *p);
25  int mod_cgi_plugin_init(plugin *p) {
26         p->version     = LIGHTTPD_VERSION_ID;
27         p->name        = buffer_init_string("cgi");
28 Index: src/mod_cml.c
29 ===================================================================
30 --- src/mod_cml.c       (.../tags/lighttpd-1.4.22)      (revision 2417)
31 +++ src/mod_cml.c       (.../branches/lighttpd-1.4.x)   (revision 2417)
32 @@ -178,7 +178,7 @@
33  }
34  #undef PATCH
35  
36 -int cache_call_lua(server *srv, connection *con, plugin_data *p, buffer *cml_file) {
37 +static int cache_call_lua(server *srv, connection *con, plugin_data *p, buffer *cml_file) {
38         buffer *b;
39         char *c;
40  
41 @@ -305,6 +305,7 @@
42         }
43  }
44  
45 +int mod_cml_plugin_init(plugin *p);
46  int mod_cml_plugin_init(plugin *p) {
47         p->version     = LIGHTTPD_VERSION_ID;
48         p->name        = buffer_init_string("cache");
49 Index: src/mod_secure_download.c
50 ===================================================================
51 --- src/mod_secure_download.c   (.../tags/lighttpd-1.4.22)      (revision 2417)
52 +++ src/mod_secure_download.c   (.../branches/lighttpd-1.4.x)   (revision 2417)
53 @@ -138,7 +138,7 @@
54   * @return if the supplied string is a valid MD5 string 1 is returned otherwise 0
55   */
56  
57 -int is_hex_len(const char *str, size_t len) {
58 +static int is_hex_len(const char *str, size_t len) {
59         size_t i;
60  
61         if (NULL == str) return 0;
62 @@ -293,6 +293,7 @@
63  
64  /* this function is called at dlopen() time and inits the callbacks */
65  
66 +int mod_secdownload_plugin_init(plugin *p);
67  int mod_secdownload_plugin_init(plugin *p) {
68         p->version     = LIGHTTPD_VERSION_ID;
69         p->name        = buffer_init_string("secdownload");
70 Index: src/mod_rewrite.c
71 ===================================================================
72 --- src/mod_rewrite.c   (.../tags/lighttpd-1.4.22)      (revision 2417)
73 +++ src/mod_rewrite.c   (.../branches/lighttpd-1.4.x)   (revision 2417)
74 @@ -63,7 +63,7 @@
75         free(hctx);
76  }
77  
78 -rewrite_rule_buffer *rewrite_rule_buffer_init(void) {
79 +static rewrite_rule_buffer *rewrite_rule_buffer_init(void) {
80         rewrite_rule_buffer *kvb;
81  
82         kvb = calloc(1, sizeof(*kvb));
83 @@ -71,7 +71,7 @@
84         return kvb;
85  }
86  
87 -int rewrite_rule_buffer_append(rewrite_rule_buffer *kvb, buffer *key, buffer *value, int once) {
88 +static int rewrite_rule_buffer_append(rewrite_rule_buffer *kvb, buffer *key, buffer *value, int once) {
89  #ifdef HAVE_PCRE_H
90         size_t i;
91         const char *errptr;
92 @@ -121,7 +121,7 @@
93  #endif
94  }
95  
96 -void rewrite_rule_buffer_free(rewrite_rule_buffer *kvb) {
97 +static void rewrite_rule_buffer_free(rewrite_rule_buffer *kvb) {
98  #ifdef HAVE_PCRE_H
99         size_t i;
100  
101 @@ -444,6 +444,7 @@
102         return HANDLER_GO_ON;
103  }
104  
105 +int mod_rewrite_plugin_init(plugin *p);
106  int mod_rewrite_plugin_init(plugin *p) {
107         p->version     = LIGHTTPD_VERSION_ID;
108         p->name        = buffer_init_string("rewrite");
109 Index: src/connections.c
110 ===================================================================
111 --- src/connections.c   (.../tags/lighttpd-1.4.22)      (revision 2417)
112 +++ src/connections.c   (.../branches/lighttpd-1.4.x)   (revision 2417)
113 @@ -858,7 +858,7 @@
114   *
115   * we get called by the state-engine and by the fdevent-handler
116   */
117 -int connection_handle_read_state(server *srv, connection *con)  {
118 +static int connection_handle_read_state(server *srv, connection *con)  {
119         connection_state_t ostate = con->state;
120         chunk *c, *last_chunk;
121         off_t last_offset;
122 @@ -1156,7 +1156,7 @@
123         return 0;
124  }
125  
126 -handler_t connection_handle_fdevent(void *s, void *context, int revents) {
127 +static handler_t connection_handle_fdevent(void *s, void *context, int revents) {
128         server     *srv = (server *)s;
129         connection *con = context;
130  
131 Index: src/mod_staticfile.c
132 ===================================================================
133 --- src/mod_staticfile.c        (.../tags/lighttpd-1.4.22)      (revision 2417)
134 +++ src/mod_staticfile.c        (.../branches/lighttpd-1.4.x)   (revision 2417)
135 @@ -532,6 +532,7 @@
136  
137  /* this function is called at dlopen() time and inits the callbacks */
138  
139 +int mod_staticfile_plugin_init(plugin *p);
140  int mod_staticfile_plugin_init(plugin *p) {
141         p->version     = LIGHTTPD_VERSION_ID;
142         p->name        = buffer_init_string("staticfile");
143 Index: src/mod_alias.c
144 ===================================================================
145 --- src/mod_alias.c     (.../tags/lighttpd-1.4.22)      (revision 2417)
146 +++ src/mod_alias.c     (.../branches/lighttpd-1.4.x)   (revision 2417)
147 @@ -187,6 +187,7 @@
148  
149  /* this function is called at dlopen() time and inits the callbacks */
150  
151 +int mod_alias_plugin_init(plugin *p);
152  int mod_alias_plugin_init(plugin *p) {
153         p->version     = LIGHTTPD_VERSION_ID;
154         p->name        = buffer_init_string("alias");
155 Index: src/network.c
156 ===================================================================
157 --- src/network.c       (.../tags/lighttpd-1.4.22)      (revision 2417)
158 +++ src/network.c       (.../branches/lighttpd-1.4.x)   (revision 2417)
159 @@ -26,7 +26,7 @@
160  # include <openssl/rand.h>
161  #endif
162  
163 -handler_t network_server_handle_fdevent(void *s, void *context, int revents) {
164 +static handler_t network_server_handle_fdevent(void *s, void *context, int revents) {
165         server     *srv = (server *)s;
166         server_socket *srv_socket = (server_socket *)context;
167         connection *con;
168 @@ -62,7 +62,7 @@
169         return HANDLER_GO_ON;
170  }
171  
172 -int network_server_init(server *srv, buffer *host_token, specific_config *s) {
173 +static int network_server_init(server *srv, buffer *host_token, specific_config *s) {
174         int val;
175         socklen_t addr_len;
176         server_socket *srv_socket;
177 Index: src/mod_trigger_b4_dl.c
178 ===================================================================
179 --- src/mod_trigger_b4_dl.c     (.../tags/lighttpd-1.4.22)      (revision 2417)
180 +++ src/mod_trigger_b4_dl.c     (.../branches/lighttpd-1.4.x)   (revision 2417)
181 @@ -576,6 +576,7 @@
182  
183  /* this function is called at dlopen() time and inits the callbacks */
184  
185 +int mod_trigger_b4_dl_plugin_init(plugin *p);
186  int mod_trigger_b4_dl_plugin_init(plugin *p) {
187         p->version     = LIGHTTPD_VERSION_ID;
188         p->name        = buffer_init_string("trigger_b4_dl");
189 Index: src/mod_evhost.c
190 ===================================================================
191 --- src/mod_evhost.c    (.../tags/lighttpd-1.4.22)      (revision 2417)
192 +++ src/mod_evhost.c    (.../branches/lighttpd-1.4.x)   (revision 2417)
193 @@ -318,6 +318,7 @@
194         return HANDLER_GO_ON;
195  }
196  
197 +int mod_evhost_plugin_init(plugin *p);
198  int mod_evhost_plugin_init(plugin *p) {
199         p->version     = LIGHTTPD_VERSION_ID;
200         p->name                    = buffer_init_string("evhost");
201 Index: src/splaytree.c
202 ===================================================================
203 --- src/splaytree.c     (.../tags/lighttpd-1.4.22)      (revision 2417)
204 +++ src/splaytree.c     (.../branches/lighttpd-1.4.x)   (revision 2417)
205 @@ -187,7 +187,8 @@
206      }
207  }
208  
209 -splay_tree *find_rank(int r, splay_tree *t) {
210 +#if 0
211 +static splay_tree *find_rank(int r, splay_tree *t) {
212  /* Returns a pointer to the node in the tree with the given rank.  */
213  /* Returns NULL if there is no such node.                          */
214  /* Does not change the tree.  To guarantee logarithmic behavior,   */
215 @@ -206,5 +207,4 @@
216         }
217      }
218  }
219 -
220 -
221 +#endif
222 Index: src/mod_scgi.c
223 ===================================================================
224 --- src/mod_scgi.c      (.../tags/lighttpd-1.4.22)      (revision 2417)
225 +++ src/mod_scgi.c      (.../branches/lighttpd-1.4.x)   (revision 2417)
226 @@ -372,7 +372,7 @@
227         free(hctx);
228  }
229  
230 -scgi_proc *scgi_process_init() {
231 +static scgi_proc *scgi_process_init() {
232         scgi_proc *f;
233  
234         f = calloc(1, sizeof(*f));
235 @@ -384,7 +384,7 @@
236         return f;
237  }
238  
239 -void scgi_process_free(scgi_proc *f) {
240 +static void scgi_process_free(scgi_proc *f) {
241         if (!f) return;
242  
243         scgi_process_free(f->next);
244 @@ -394,7 +394,7 @@
245         free(f);
246  }
247  
248 -scgi_extension_host *scgi_host_init() {
249 +static scgi_extension_host *scgi_host_init() {
250         scgi_extension_host *f;
251  
252         f = calloc(1, sizeof(*f));
253 @@ -409,7 +409,7 @@
254         return f;
255  }
256  
257 -void scgi_host_free(scgi_extension_host *h) {
258 +static void scgi_host_free(scgi_extension_host *h) {
259         if (!h) return;
260  
261         buffer_free(h->host);
262 @@ -426,7 +426,7 @@
263  
264  }
265  
266 -scgi_exts *scgi_extensions_init() {
267 +static scgi_exts *scgi_extensions_init() {
268         scgi_exts *f;
269  
270         f = calloc(1, sizeof(*f));
271 @@ -434,7 +434,7 @@
272         return f;
273  }
274  
275 -void scgi_extensions_free(scgi_exts *f) {
276 +static void scgi_extensions_free(scgi_exts *f) {
277         size_t i;
278  
279         if (!f) return;
280 @@ -464,7 +464,7 @@
281         free(f);
282  }
283  
284 -int scgi_extension_insert(scgi_exts *ext, buffer *key, scgi_extension_host *fh) {
285 +static int scgi_extension_insert(scgi_exts *ext, buffer *key, scgi_extension_host *fh) {
286         scgi_extension *fe;
287         size_t i;
288  
289 @@ -1178,7 +1178,7 @@
290  }
291  
292  
293 -void scgi_connection_cleanup(server *srv, handler_ctx *hctx) {
294 +static void scgi_connection_cleanup(server *srv, handler_ctx *hctx) {
295         plugin_data *p;
296         connection  *con;
297  
298 @@ -1915,7 +1915,7 @@
299  }
300  
301  
302 -int scgi_proclist_sort_up(server *srv, scgi_extension_host *host, scgi_proc *proc) {
303 +static int scgi_proclist_sort_up(server *srv, scgi_extension_host *host, scgi_proc *proc) {
304         scgi_proc *p;
305  
306         UNUSED(srv);
307 @@ -3105,6 +3105,7 @@
308  }
309  
310  
311 +int mod_scgi_plugin_init(plugin *p);
312  int mod_scgi_plugin_init(plugin *p) {
313         p->version     = LIGHTTPD_VERSION_ID;
314         p->name         = buffer_init_string("scgi");
315 Index: src/mod_mysql_vhost.c
316 ===================================================================
317 --- src/mod_mysql_vhost.c       (.../tags/lighttpd-1.4.22)      (revision 2417)
318 +++ src/mod_mysql_vhost.c       (.../branches/lighttpd-1.4.x)   (revision 2417)
319 @@ -422,6 +422,7 @@
320  }
321  
322  /* this function is called at dlopen() time and inits the callbacks */
323 +int mod_mysql_vhost_plugin_init(plugin *p);
324  int mod_mysql_vhost_plugin_init(plugin *p) {
325         p->version     = LIGHTTPD_VERSION_ID;
326         p->name                         = buffer_init_string("mysql_vhost");
327 @@ -437,6 +438,7 @@
328  }
329  #else
330  /* we don't have mysql support, this plugin does nothing */
331 +int mod_mysql_vhost_plugin_init(plugin *p);
332  int mod_mysql_vhost_plugin_init(plugin *p) {
333         p->version     = LIGHTTPD_VERSION_ID;
334         p->name                         = buffer_init_string("mysql_vhost");
335 Index: src/request.c
336 ===================================================================
337 --- src/request.c       (.../tags/lighttpd-1.4.22)      (revision 2417)
338 +++ src/request.c       (.../branches/lighttpd-1.4.x)   (revision 2417)
339 @@ -200,7 +200,7 @@
340  #define DUMP_HEADER
341  #endif
342  
343 -int http_request_split_value(array *vals, buffer *b) {
344 +static int http_request_split_value(array *vals, buffer *b) {
345         char *s;
346         size_t i;
347         int state = 0;
348 @@ -262,7 +262,7 @@
349         return 0;
350  }
351  
352 -int request_uri_is_valid_char(unsigned char c) {
353 +static int request_uri_is_valid_char(unsigned char c) {
354         if (c <= 32) return 0;
355         if (c == 127) return 0;
356         if (c == 255) return 0;
357 Index: src/mod_magnet_cache.c
358 ===================================================================
359 --- src/mod_magnet_cache.c      (.../tags/lighttpd-1.4.22)      (revision 2417)
360 +++ src/mod_magnet_cache.c      (.../branches/lighttpd-1.4.x)   (revision 2417)
361 @@ -9,7 +9,7 @@
362  #include <lualib.h>
363  #include <lauxlib.h>
364  
365 -script *script_init() {
366 +static script *script_init() {
367         script *sc;
368  
369         sc = calloc(1, sizeof(*sc));
370 @@ -19,7 +19,7 @@
371         return sc;
372  }
373  
374 -void script_free(script *sc) {
375 +static void script_free(script *sc) {
376         if (!sc) return;
377  
378         lua_pop(sc->L, 1); /* the function copy */
379 Index: src/mod_flv_streaming.c
380 ===================================================================
381 --- src/mod_flv_streaming.c     (.../tags/lighttpd-1.4.22)      (revision 2417)
382 +++ src/mod_flv_streaming.c     (.../branches/lighttpd-1.4.x)   (revision 2417)
383 @@ -265,6 +265,7 @@
384  
385  /* this function is called at dlopen() time and inits the callbacks */
386  
387 +int mod_flv_streaming_plugin_init(plugin *p);
388  int mod_flv_streaming_plugin_init(plugin *p) {
389         p->version     = LIGHTTPD_VERSION_ID;
390         p->name        = buffer_init_string("flv_streaming");
391 Index: src/mod_rrdtool.c
392 ===================================================================
393 --- src/mod_rrdtool.c   (.../tags/lighttpd-1.4.22)      (revision 2417)
394 +++ src/mod_rrdtool.c   (.../branches/lighttpd-1.4.x)   (revision 2417)
395 @@ -91,7 +91,7 @@
396         return HANDLER_GO_ON;
397  }
398  
399 -int mod_rrd_create_pipe(server *srv, plugin_data *p) {
400 +static int mod_rrd_create_pipe(server *srv, plugin_data *p) {
401  #ifdef HAVE_FORK
402         pid_t pid;
403  
404 @@ -477,6 +477,7 @@
405         return HANDLER_GO_ON;
406  }
407  
408 +int mod_rrdtool_plugin_init(plugin *p);
409  int mod_rrdtool_plugin_init(plugin *p) {
410         p->version     = LIGHTTPD_VERSION_ID;
411         p->name        = buffer_init_string("rrd");
412 Index: src/mod_cml_funcs.c
413 ===================================================================
414 --- src/mod_cml_funcs.c (.../tags/lighttpd-1.4.22)      (revision 2417)
415 +++ src/mod_cml_funcs.c (.../branches/lighttpd-1.4.x)   (revision 2417)
416 @@ -93,7 +93,7 @@
417         return 1;
418  }
419  
420 -int f_dir_files_iter(lua_State *L) {
421 +static int f_dir_files_iter(lua_State *L) {
422         DIR *d;
423         struct dirent *de;
424  
425 @@ -211,7 +211,7 @@
426         }
427  
428         if (NULL == (r = mc_aget(mc,
429 -                                lua_tostring(L, 1), lua_strlen(L, 1)))) {
430 +                                (char*) lua_tostring(L, 1), lua_strlen(L, 1)))) {
431  
432                 lua_pushboolean(L, 0);
433                 return 1;
434 @@ -248,7 +248,7 @@
435         }
436  
437         if (NULL == (r = mc_aget(mc,
438 -                                lua_tostring(L, 1), lua_strlen(L, 1)))) {
439 +                                (char*) lua_tostring(L, 1), lua_strlen(L, 1)))) {
440                 lua_pushnil(L);
441                 return 1;
442         }
443 @@ -285,7 +285,7 @@
444         }
445  
446         if (NULL == (r = mc_aget(mc,
447 -                                lua_tostring(L, 1), lua_strlen(L, 1)))) {
448 +                                (char*) lua_tostring(L, 1), lua_strlen(L, 1)))) {
449                 lua_pushnil(L);
450                 return 1;
451         }
452 Index: src/mod_simple_vhost.c
453 ===================================================================
454 --- src/mod_simple_vhost.c      (.../tags/lighttpd-1.4.22)      (revision 2417)
455 +++ src/mod_simple_vhost.c      (.../branches/lighttpd-1.4.x)   (revision 2417)
456 @@ -270,6 +270,7 @@
457  }
458  
459  
460 +int mod_simple_vhost_plugin_init(plugin *p);
461  int mod_simple_vhost_plugin_init(plugin *p) {
462         p->version     = LIGHTTPD_VERSION_ID;
463         p->name        = buffer_init_string("simple_vhost");
464 Index: src/mod_userdir.c
465 ===================================================================
466 --- src/mod_userdir.c   (.../tags/lighttpd-1.4.22)      (revision 2417)
467 +++ src/mod_userdir.c   (.../branches/lighttpd-1.4.x)   (revision 2417)
468 @@ -314,6 +314,7 @@
469  
470  /* this function is called at dlopen() time and inits the callbacks */
471  
472 +int mod_userdir_plugin_init(plugin *p);
473  int mod_userdir_plugin_init(plugin *p) {
474         p->version     = LIGHTTPD_VERSION_ID;
475         p->name        = buffer_init_string("userdir");
476 Index: src/mod_proxy.c
477 ===================================================================
478 --- src/mod_proxy.c     (.../tags/lighttpd-1.4.22)      (revision 2417)
479 +++ src/mod_proxy.c     (.../branches/lighttpd-1.4.x)   (revision 2417)
480 @@ -332,7 +332,7 @@
481         return HANDLER_GO_ON;
482  }
483  
484 -void proxy_connection_close(server *srv, handler_ctx *hctx) {
485 +static void proxy_connection_close(server *srv, handler_ctx *hctx) {
486         plugin_data *p;
487         connection *con;
488  
489 @@ -395,7 +395,7 @@
490         return 0;
491  }
492  
493 -void proxy_set_header(connection *con, const char *key, const char *value) {
494 +static void proxy_set_header(connection *con, const char *key, const char *value) {
495      data_string *ds_dst;
496  
497      if (NULL == (ds_dst = (data_string *)array_get_unused_element(con->request.headers, TYPE_STRING))) {
498 @@ -407,7 +407,7 @@
499      array_insert_unique(con->request.headers, (data_unset *)ds_dst);
500  }
501  
502 -void proxy_append_header(connection *con, const char *key, const char *value) {
503 +static void proxy_append_header(connection *con, const char *key, const char *value) {
504      data_string *ds_dst;
505  
506      if (NULL == (ds_dst = (data_string *)array_get_unused_element(con->request.headers, TYPE_STRING))) {
507 @@ -1321,6 +1321,7 @@
508  }
509  
510  
511 +int mod_proxy_plugin_init(plugin *p);
512  int mod_proxy_plugin_init(plugin *p) {
513         p->version      = LIGHTTPD_VERSION_ID;
514         p->name         = buffer_init_string("proxy");
515 Index: src/mod_extforward.c
516 ===================================================================
517 --- src/mod_extforward.c        (.../tags/lighttpd-1.4.22)      (revision 2417)
518 +++ src/mod_extforward.c        (.../branches/lighttpd-1.4.x)   (revision 2417)
519 @@ -294,7 +294,7 @@
520         return NULL;
521  }
522  
523 -struct addrinfo *ipstr_to_sockaddr(const char *host)
524 +static struct addrinfo *ipstr_to_sockaddr(const char *host)
525  {
526     struct addrinfo hints, *res0;
527     int result;
528 @@ -479,6 +479,7 @@
529  
530  /* this function is called at dlopen() time and inits the callbacks */
531  
532 +int mod_extforward_plugin_init(plugin *p);
533  int mod_extforward_plugin_init(plugin *p) {
534         p->version     = LIGHTTPD_VERSION_ID;
535         p->name        = buffer_init_string("extforward");
536 Index: src/mod_expire.c
537 ===================================================================
538 --- src/mod_expire.c    (.../tags/lighttpd-1.4.22)      (revision 2417)
539 +++ src/mod_expire.c    (.../branches/lighttpd-1.4.x)   (revision 2417)
540 @@ -354,6 +354,7 @@
541  
542  /* this function is called at dlopen() time and inits the callbacks */
543  
544 +int mod_expire_plugin_init(plugin *p);
545  int mod_expire_plugin_init(plugin *p) {
546         p->version     = LIGHTTPD_VERSION_ID;
547         p->name        = buffer_init_string("expire");
548 Index: src/mod_redirect.c
549 ===================================================================
550 --- src/mod_redirect.c  (.../tags/lighttpd-1.4.22)      (revision 2417)
551 +++ src/mod_redirect.c  (.../branches/lighttpd-1.4.x)   (revision 2417)
552 @@ -271,6 +271,7 @@
553  }
554  
555  
556 +int mod_redirect_plugin_init(plugin *p);
557  int mod_redirect_plugin_init(plugin *p) {
558         p->version     = LIGHTTPD_VERSION_ID;
559         p->name        = buffer_init_string("redirect");
560 Index: src/mod_usertrack.c
561 ===================================================================
562 --- src/mod_usertrack.c (.../tags/lighttpd-1.4.22)      (revision 2417)
563 +++ src/mod_usertrack.c (.../branches/lighttpd-1.4.x)   (revision 2417)
564 @@ -255,6 +255,7 @@
565  
566  /* this function is called at dlopen() time and inits the callbacks */
567  
568 +int mod_usertrack_plugin_init(plugin *p);
569  int mod_usertrack_plugin_init(plugin *p) {
570         p->version     = LIGHTTPD_VERSION_ID;
571         p->name        = buffer_init_string("usertrack");
572 Index: src/mod_webdav.c
573 ===================================================================
574 --- src/mod_webdav.c    (.../tags/lighttpd-1.4.22)      (revision 2417)
575 +++ src/mod_webdav.c    (.../branches/lighttpd-1.4.x)   (revision 2417)
576 @@ -1096,7 +1096,7 @@
577  }
578  #endif
579  
580 -int webdav_lockdiscovery(server *srv, connection *con,
581 +static int webdav_lockdiscovery(server *srv, connection *con,
582                 buffer *locktoken, const char *lockscope, const char *locktype, int depth) {
583  
584         buffer *b;
585 @@ -1156,7 +1156,7 @@
586   *
587   *
588   */
589 -int webdav_has_lock(server *srv, connection *con, plugin_data *p, buffer *uri) {
590 +static int webdav_has_lock(server *srv, connection *con, plugin_data *p, buffer *uri) {
591         int has_lock = 1;
592  
593  #ifdef USE_LOCKS
594 @@ -2474,6 +2474,7 @@
595  
596  /* this function is called at dlopen() time and inits the callbacks */
597  
598 +int mod_webdav_plugin_init(plugin *p);
599  int mod_webdav_plugin_init(plugin *p) {
600         p->version     = LIGHTTPD_VERSION_ID;
601         p->name        = buffer_init_string("webdav");
602 Index: src/mod_status.c
603 ===================================================================
604 --- src/mod_status.c    (.../tags/lighttpd-1.4.22)      (revision 2417)
605 +++ src/mod_status.c    (.../branches/lighttpd-1.4.x)   (revision 2417)
606 @@ -853,6 +853,7 @@
607         return HANDLER_GO_ON;
608  }
609  
610 +int mod_status_plugin_init(plugin *p);
611  int mod_status_plugin_init(plugin *p) {
612         p->version     = LIGHTTPD_VERSION_ID;
613         p->name        = buffer_init_string("status");
614 Index: src/mod_compress.c
615 ===================================================================
616 --- src/mod_compress.c  (.../tags/lighttpd-1.4.22)      (revision 2417)
617 +++ src/mod_compress.c  (.../branches/lighttpd-1.4.x)   (revision 2417)
618 @@ -104,7 +104,7 @@
619  }
620  
621  /* 0 on success, -1 for error */
622 -int mkdir_recursive(char *dir) {
623 +static int mkdir_recursive(char *dir) {
624         char *p = dir;
625  
626         if (!dir || !dir[0])
627 @@ -126,7 +126,7 @@
628  }
629  
630  /* 0 on success, -1 for error */
631 -int mkdir_for_file(char *filename) {
632 +static int mkdir_for_file(char *filename) {
633         char *p = filename;
634  
635         if (!filename || !filename[0])
636 @@ -815,6 +815,7 @@
637         return HANDLER_GO_ON;
638  }
639  
640 +int mod_compress_plugin_init(plugin *p);
641  int mod_compress_plugin_init(plugin *p) {
642         p->version     = LIGHTTPD_VERSION_ID;
643         p->name        = buffer_init_string("compress");
644 Index: src/mod_ssi.c
645 ===================================================================
646 --- src/mod_ssi.c       (.../tags/lighttpd-1.4.22)      (revision 2417)
647 +++ src/mod_ssi.c       (.../branches/lighttpd-1.4.x)   (revision 2417)
648 @@ -139,7 +139,7 @@
649         return HANDLER_GO_ON;
650  }
651  
652 -int ssi_env_add(array *env, const char *key, const char *val) {
653 +static int ssi_env_add(array *env, const char *key, const char *val) {
654         data_string *ds;
655  
656         if (NULL == (ds = (data_string *)array_get_unused_element(env, TYPE_STRING))) {
657 @@ -1125,6 +1125,7 @@
658  
659  /* this function is called at dlopen() time and inits the callbacks */
660  
661 +int mod_ssi_plugin_init(plugin *p);
662  int mod_ssi_plugin_init(plugin *p) {
663         p->version     = LIGHTTPD_VERSION_ID;
664         p->name        = buffer_init_string("ssi");
665 Index: src/spawn-fcgi.c
666 ===================================================================
667 --- src/spawn-fcgi.c    (.../tags/lighttpd-1.4.22)      (revision 2417)
668 +++ src/spawn-fcgi.c    (.../branches/lighttpd-1.4.x)   (revision 2417)
669 @@ -37,7 +37,7 @@
670  #endif
671  
672  #ifdef HAVE_SYS_UN_H
673 -int fcgi_spawn_connection(char *appPath, char **appArgv, char *addr, unsigned short port, const char *unixsocket, int fork_count, int child_count, int pid_fd, int nofork) {
674 +static int fcgi_spawn_connection(char *appPath, char **appArgv, char *addr, unsigned short port, const char *unixsocket, int fork_count, int child_count, int pid_fd, int nofork) {
675         int fcgi_fd;
676         int socket_type, status, rc = 0;
677         struct timeval tv = { 0, 100 * 1000 };
678 @@ -259,14 +259,14 @@
679  }
680  
681  
682 -void show_version () {
683 +static void show_version () {
684         char *b = "spawn-fcgi" "-" PACKAGE_VERSION \
685  " - spawns fastcgi processes\n"
686  ;
687         write(1, b, strlen(b));
688  }
689  
690 -void show_help () {
691 +static void show_help () {
692         char *b = \
693  "Usage: spawn-fcgi [options] -- <fcgiapp> [fcgi app arguments]\n" \
694  "\n" \
695 Index: src/mod_auth.c
696 ===================================================================
697 --- src/mod_auth.c      (.../tags/lighttpd-1.4.22)      (revision 2417)
698 +++ src/mod_auth.c      (.../branches/lighttpd-1.4.x)   (revision 2417)
699 @@ -614,6 +614,7 @@
700  #endif
701  }
702  
703 +int mod_auth_plugin_init(plugin *p);
704  int mod_auth_plugin_init(plugin *p) {
705         p->version     = LIGHTTPD_VERSION_ID;
706         p->name        = buffer_init_string("auth");
707 Index: src/mod_cml_lua.c
708 ===================================================================
709 --- src/mod_cml_lua.c   (.../tags/lighttpd-1.4.22)      (revision 2417)
710 +++ src/mod_cml_lua.c   (.../branches/lighttpd-1.4.x)   (revision 2417)
711 @@ -105,7 +105,7 @@
712  }
713  
714  
715 -int cache_export_get_params(lua_State *L, int tbl, buffer *qrystr) {
716 +static int cache_export_get_params(lua_State *L, int tbl, buffer *qrystr) {
717         size_t is_key = 1;
718         size_t i;
719         char *key = NULL, *val = NULL;
720 Index: src/mod_evasive.c
721 ===================================================================
722 --- src/mod_evasive.c   (.../tags/lighttpd-1.4.22)      (revision 2417)
723 +++ src/mod_evasive.c   (.../branches/lighttpd-1.4.x)   (revision 2417)
724 @@ -186,6 +186,7 @@
725  }
726  
727  
728 +int mod_evasive_plugin_init(plugin *p);
729  int mod_evasive_plugin_init(plugin *p) {
730         p->version     = LIGHTTPD_VERSION_ID;
731         p->name        = buffer_init_string("evasive");
732 Index: src/mod_setenv.c
733 ===================================================================
734 --- src/mod_setenv.c    (.../tags/lighttpd-1.4.22)      (revision 2417)
735 +++ src/mod_setenv.c    (.../branches/lighttpd-1.4.x)   (revision 2417)
736 @@ -230,6 +230,7 @@
737  
738  /* this function is called at dlopen() time and inits the callbacks */
739  
740 +int mod_setenv_plugin_init(plugin *p);
741  int mod_setenv_plugin_init(plugin *p) {
742         p->version     = LIGHTTPD_VERSION_ID;
743         p->name        = buffer_init_string("setenv");
744 Index: src/mod_indexfile.c
745 ===================================================================
746 --- src/mod_indexfile.c (.../tags/lighttpd-1.4.22)      (revision 2417)
747 +++ src/mod_indexfile.c (.../branches/lighttpd-1.4.x)   (revision 2417)
748 @@ -206,6 +206,7 @@
749  
750  /* this function is called at dlopen() time and inits the callbacks */
751  
752 +int mod_indexfile_plugin_init(plugin *p);
753  int mod_indexfile_plugin_init(plugin *p) {
754         p->version     = LIGHTTPD_VERSION_ID;
755         p->name        = buffer_init_string("indexfile");
756 Index: src/mod_uploadprogress.c
757 ===================================================================
758 --- src/mod_uploadprogress.c    (.../tags/lighttpd-1.4.22)      (revision 2417)
759 +++ src/mod_uploadprogress.c    (.../branches/lighttpd-1.4.x)   (revision 2417)
760 @@ -51,7 +51,7 @@
761   */
762  
763  /* init the plugin data */
764 -connection_map *connection_map_init() {
765 +static connection_map *connection_map_init() {
766         connection_map *cm;
767  
768         cm = calloc(1, sizeof(*cm));
769 @@ -59,7 +59,7 @@
770         return cm;
771  }
772  
773 -void connection_map_free(connection_map *cm) {
774 +static void connection_map_free(connection_map *cm) {
775         size_t i;
776         for (i = 0; i < cm->size; i++) {
777                 connection_map_entry *cme = cm->ptr[i];
778 @@ -75,7 +75,7 @@
779         free(cm);
780  }
781  
782 -int connection_map_insert(connection_map *cm, connection *con, buffer *con_id) {
783 +static int connection_map_insert(connection_map *cm, connection *con, buffer *con_id) {
784         connection_map_entry *cme;
785         size_t i;
786  
787 @@ -108,7 +108,7 @@
788         return 0;
789  }
790  
791 -connection *connection_map_get_connection(connection_map *cm, buffer *con_id) {
792 +static connection *connection_map_get_connection(connection_map *cm, buffer *con_id) {
793         size_t i;
794  
795         for (i = 0; i < cm->used; i++) {
796 @@ -123,7 +123,7 @@
797         return NULL;
798  }
799  
800 -int connection_map_remove_connection(connection_map *cm, connection *con) {
801 +static int connection_map_remove_connection(connection_map *cm, connection *con) {
802         size_t i;
803  
804         for (i = 0; i < cm->used; i++) {
805 @@ -418,6 +418,7 @@
806  
807  /* this function is called at dlopen() time and inits the callbacks */
808  
809 +int mod_uploadprogress_plugin_init(plugin *p);
810  int mod_uploadprogress_plugin_init(plugin *p) {
811         p->version     = LIGHTTPD_VERSION_ID;
812         p->name        = buffer_init_string("uploadprogress");
813 Index: src/mod_fastcgi.c
814 ===================================================================
815 --- src/mod_fastcgi.c   (.../tags/lighttpd-1.4.22)      (revision 2417)
816 +++ src/mod_fastcgi.c   (.../branches/lighttpd-1.4.x)   (revision 2417)
817 @@ -389,7 +389,7 @@
818  /* ok, we need a prototype */
819  static handler_t fcgi_handle_fdevent(void *s, void *ctx, int revents);
820  
821 -int fastcgi_status_copy_procname(buffer *b, fcgi_extension_host *host, fcgi_proc *proc) {
822 +static int fastcgi_status_copy_procname(buffer *b, fcgi_extension_host *host, fcgi_proc *proc) {
823         buffer_copy_string_len(b, CONST_STR_LEN("fastcgi.backend."));
824         buffer_append_string_buffer(b, host->id);
825         if (proc) {
826 @@ -400,7 +400,7 @@
827         return 0;
828  }
829  
830 -int fastcgi_status_init(server *srv, buffer *b, fcgi_extension_host *host, fcgi_proc *proc) {
831 +static int fastcgi_status_init(server *srv, buffer *b, fcgi_extension_host *host, fcgi_proc *proc) {
832  #define CLEAN(x) \
833         fastcgi_status_copy_procname(b, host, proc); \
834         buffer_append_string_len(b, CONST_STR_LEN(x)); \
835 @@ -465,7 +465,7 @@
836         free(hctx);
837  }
838  
839 -fcgi_proc *fastcgi_process_init() {
840 +static fcgi_proc *fastcgi_process_init() {
841         fcgi_proc *f;
842  
843         f = calloc(1, sizeof(*f));
844 @@ -478,7 +478,7 @@
845         return f;
846  }
847  
848 -void fastcgi_process_free(fcgi_proc *f) {
849 +static void fastcgi_process_free(fcgi_proc *f) {
850         if (!f) return;
851  
852         fastcgi_process_free(f->next);
853 @@ -489,7 +489,7 @@
854         free(f);
855  }
856  
857 -fcgi_extension_host *fastcgi_host_init() {
858 +static fcgi_extension_host *fastcgi_host_init() {
859         fcgi_extension_host *f;
860  
861         f = calloc(1, sizeof(*f));
862 @@ -506,7 +506,7 @@
863         return f;
864  }
865  
866 -void fastcgi_host_free(fcgi_extension_host *h) {
867 +static void fastcgi_host_free(fcgi_extension_host *h) {
868         if (!h) return;
869  
870         buffer_free(h->id);
871 @@ -525,7 +525,7 @@
872  
873  }
874  
875 -fcgi_exts *fastcgi_extensions_init() {
876 +static fcgi_exts *fastcgi_extensions_init() {
877         fcgi_exts *f;
878  
879         f = calloc(1, sizeof(*f));
880 @@ -533,7 +533,7 @@
881         return f;
882  }
883  
884 -void fastcgi_extensions_free(fcgi_exts *f) {
885 +static void fastcgi_extensions_free(fcgi_exts *f) {
886         size_t i;
887  
888         if (!f) return;
889 @@ -563,7 +563,7 @@
890         free(f);
891  }
892  
893 -int fastcgi_extension_insert(fcgi_exts *ext, buffer *key, fcgi_extension_host *fh) {
894 +static int fastcgi_extension_insert(fcgi_exts *ext, buffer *key, fcgi_extension_host *fh) {
895         fcgi_extension *fe;
896         size_t i;
897  
898 @@ -1479,7 +1479,7 @@
899  
900         return 0;
901  }
902 -void fcgi_connection_close(server *srv, handler_ctx *hctx) {
903 +static void fcgi_connection_close(server *srv, handler_ctx *hctx) {
904         plugin_data *p;
905         connection  *con;
906  
907 @@ -3916,6 +3916,7 @@
908  }
909  
910  
911 +int mod_fastcgi_plugin_init(plugin *p);
912  int mod_fastcgi_plugin_init(plugin *p) {
913         p->version      = LIGHTTPD_VERSION_ID;
914         p->name         = buffer_init_string("fastcgi");
915 Index: src/CMakeLists.txt
916 ===================================================================
917 --- src/CMakeLists.txt  (.../tags/lighttpd-1.4.22)      (revision 2417)
918 +++ src/CMakeLists.txt  (.../branches/lighttpd-1.4.x)   (revision 2417)
919 @@ -29,6 +29,18 @@
920  OPTION(WITH_GDBM "gdbm storage for mod_trigger_b4_dl [default: off]")
921  OPTION(WITH_MEMCACHE "memcached storage for mod_trigger_b4_dl [default: off]")
922  
923 +IF(CMAKE_COMPILER_IS_GNUCC)
924 +       OPTION(BUILD_EXTRA_WARNINGS "extra warnings")
925 +
926 +       IF(BUILD_EXTRA_WARNINGS)
927 +               SET(WARN_FLAGS "-g -O2 -g2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -Wno-pointer-sign -Wcast-align -Winline -Wsign-compare -Wnested-externs -Wpointer-arith -Wformat-security")
928 +               # -Wl,--as-needed
929 +               # -Werror -Wbad-function-cast -Wmissing-prototypes
930 +       ELSE(BUILD_EXTRA_WARNINGS)
931 +               SET(WARN_FLAGS "")
932 +       ENDIF(BUILD_EXTRA_WARNINGS)
933 +ENDIF(CMAKE_COMPILER_IS_GNUCC)
934 +
935  OPTION(BUILD_STATIC "build a static lighttpd with all modules added")
936  
937  IF(BUILD_STATIC)
938 @@ -424,6 +436,10 @@
939  ADD_EXECUTABLE(spawn-fcgi spawn-fcgi.c)
940  SET(L_INSTALL_TARGETS ${L_INSTALL_TARGETS} spawn-fcgi)
941  
942 +ADD_EXECUTABLE(lighttpd-angel lighttpd-angel.c)
943 +SET(L_INSTALL_TARGETS ${L_INSTALL_TARGETS} lighttpd-angel)
944 +ADD_TARGET_PROPERTIES(lighttpd-angel COMPILE_FLAGS "-DSBIN_DIR=\\\\\"${CMAKE_INSTALL_PREFIX}/${SBINDIR}\\\\\"")
945 +
946  ADD_EXECUTABLE(lighttpd
947         server.c
948         response.c
949 @@ -545,7 +561,7 @@
950  ENDIF(HAVE_MEMCACHE_H)
951  
952  IF(CMAKE_COMPILER_IS_GNUCC)
953 -  SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -Wall -g -Wshadow -W -pedantic")
954 +  SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -Wall -g -Wshadow -W -pedantic ${WARN_FLAGS}")
955    SET(CMAKE_C_FLAGS_RELEASE        "${CMAKE_C_FLAGS_RELEASE}     -O2")
956    SET(CMAKE_C_FLAGS_DEBUG          "${CMAKE_C_FLAGS_DEBUG}       -O0")
957    SET(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_WITHDEBINFO} -O2")
958 Index: src/mod_access.c
959 ===================================================================
960 --- src/mod_access.c    (.../tags/lighttpd-1.4.22)      (revision 2417)
961 +++ src/mod_access.c    (.../branches/lighttpd-1.4.x)   (revision 2417)
962 @@ -175,6 +175,7 @@
963  }
964  
965  
966 +int mod_access_plugin_init(plugin *p);
967  int mod_access_plugin_init(plugin *p) {
968         p->version     = LIGHTTPD_VERSION_ID;
969         p->name        = buffer_init_string("access");
970 Index: src/mod_accesslog.c
971 ===================================================================
972 --- src/mod_accesslog.c (.../tags/lighttpd-1.4.22)      (revision 2417)
973 +++ src/mod_accesslog.c (.../branches/lighttpd-1.4.x)   (revision 2417)
974 @@ -156,7 +156,7 @@
975         return p;
976  }
977  
978 -int accesslog_parse_format(server *srv, format_fields *fields, buffer *format) {
979 +static int accesslog_parse_format(server *srv, format_fields *fields, buffer *format) {
980         size_t i, j, k = 0, start = 0;
981  
982         if (format->used == 0) return -1;
983 @@ -876,6 +876,7 @@
984  }
985  
986  
987 +int mod_accesslog_plugin_init(plugin *p);
988  int mod_accesslog_plugin_init(plugin *p) {
989         p->version     = LIGHTTPD_VERSION_ID;
990         p->name        = buffer_init_string("accesslog");
991 Index: src/mod_dirlisting.c
992 ===================================================================
993 --- src/mod_dirlisting.c        (.../tags/lighttpd-1.4.22)      (revision 2417)
994 +++ src/mod_dirlisting.c        (.../branches/lighttpd-1.4.x)   (revision 2417)
995 @@ -73,7 +73,7 @@
996         plugin_config conf;
997  } plugin_data;
998  
999 -excludes_buffer *excludes_buffer_init(void) {
1000 +static excludes_buffer *excludes_buffer_init(void) {
1001         excludes_buffer *exb;
1002  
1003         exb = calloc(1, sizeof(*exb));
1004 @@ -81,7 +81,7 @@
1005         return exb;
1006  }
1007  
1008 -int excludes_buffer_append(excludes_buffer *exb, buffer *string) {
1009 +static int excludes_buffer_append(excludes_buffer *exb, buffer *string) {
1010  #ifdef HAVE_PCRE_H
1011         size_t i;
1012         const char *errptr;
1013 @@ -128,7 +128,7 @@
1014  #endif
1015  }
1016  
1017 -void excludes_buffer_free(excludes_buffer *exb) {
1018 +static void excludes_buffer_free(excludes_buffer *exb) {
1019  #ifdef HAVE_PCRE_H
1020         size_t i;
1021  
1022 @@ -904,6 +904,7 @@
1023  
1024  /* this function is called at dlopen() time and inits the callbacks */
1025  
1026 +int mod_dirlisting_plugin_init(plugin *p);
1027  int mod_dirlisting_plugin_init(plugin *p) {
1028         p->version     = LIGHTTPD_VERSION_ID;
1029         p->name        = buffer_init_string("dirlisting");
1030 Index: src/mod_magnet.c
1031 ===================================================================
1032 --- src/mod_magnet.c    (.../tags/lighttpd-1.4.22)      (revision 2417)
1033 +++ src/mod_magnet.c    (.../branches/lighttpd-1.4.x)   (revision 2417)
1034 @@ -840,6 +840,7 @@
1035  
1036  /* this function is called at dlopen() time and inits the callbacks */
1037  
1038 +int mod_magnet_plugin_init(plugin *p);
1039  int mod_magnet_plugin_init(plugin *p) {
1040         p->version     = LIGHTTPD_VERSION_ID;
1041         p->name        = buffer_init_string("magnet");
1042 @@ -856,6 +857,7 @@
1043  }
1044  
1045  #else
1046 +int mod_magnet_plugin_init(plugin *p);
1047  int mod_magnet_plugin_init(plugin *p) {
1048         UNUSED(p);
1049         return -1;
1050 Index: src/fdevent.c
1051 ===================================================================
1052 --- src/fdevent.c       (.../tags/lighttpd-1.4.22)      (revision 2417)
1053 +++ src/fdevent.c       (.../branches/lighttpd-1.4.x)   (revision 2417)
1054 @@ -92,7 +92,7 @@
1055         return 0;
1056  }
1057  
1058 -fdnode *fdnode_init() {
1059 +static fdnode *fdnode_init() {
1060         fdnode *fdn;
1061  
1062         fdn = calloc(1, sizeof(*fdn));
1063 @@ -100,7 +100,7 @@
1064         return fdn;
1065  }
1066  
1067 -void fdnode_free(fdnode *fdn) {
1068 +static void fdnode_free(fdnode *fdn) {
1069         free(fdn);
1070  }
1071  
1072 Index: doc/lighttpd.1
1073 ===================================================================
1074 --- doc/lighttpd.1      (.../tags/lighttpd-1.4.22)      (revision 2417)
1075 +++ doc/lighttpd.1      (.../branches/lighttpd-1.4.x)   (revision 2417)
1076 @@ -1,18 +0,0 @@
1077 -.TH LIGHTTPD 1 2003-12-21
1078 -.SH NAME
1079 -lighttpd - a fast, secure and flexible webserver
1080 -.SH SYNOPSIS
1081 -lighttpd -D -f <configfile>
1082 -.SH DESCRIPTION
1083 -.SH FILES
1084 -/etc/lighttpd/lighttpd.conf
1085 -.SH CONFORMING TO
1086 -HTTP/1.0
1087 -HTTP/1.0
1088 -HTTP-Authentification - Basic, Digest
1089 -FastCGI
1090 -CGI/1.1
1091 -.SH SEE ALSO
1092 -spawn-fcgi(1)
1093 -.SH AUTHOR
1094 -jan@kneschke.de
1095 Index: doc/lighttpd.8
1096 ===================================================================
1097 --- doc/lighttpd.8      (.../tags/lighttpd-1.4.22)      (revision 0)
1098 +++ doc/lighttpd.8      (.../branches/lighttpd-1.4.x)   (revision 2417)
1099 @@ -0,0 +1,70 @@
1100 +.TH LIGHTTPD "8" "2009-03-07" "" ""
1101 +.
1102 +.SH NAME
1103 +lighttpd \- a fast, secure and flexible web server
1104 +.
1105 +.SH SYNOPSIS
1106 +\fBlighttpd\fP [\fB\-ptDvVh\fP] \fB\-f\fP \fIconfigfile\fP [\fB\-m\fP \fImoduledir\fP]
1107 +.
1108 +.SH DESCRIPTION
1109 +\fBlighttpd\fP (pronounced 'lighty') is an advanced HTTP daemon that aims
1110 +to be secure, fast, compliant and very flexible.  It has been optimized for
1111 +high performance.  Its feature set includes, but is not limited to, FastCGI,
1112 +CGI, basic and digest HTTP authentication, output compression, URL rewriting.
1113 +.PP
1114 +This manual page only lists the command line arguments.  For details
1115 +on how to configure \fBlighttpd\fP and its modules see the files in the
1116 +doc-directory.
1117 +.
1118 +.SH OPTIONS
1119 +The following options are supported:
1120 +.TP 8
1121 +\fB\-f\ \fP \fIconfigfile\fP
1122 +Load configuration file \fIconfigfile\fP.
1123 +.TP 8
1124 +\fB\-m\ \fP \fImoduledir\fP
1125 +Use
1126 +\fImoduledir\fP
1127 +as the directory that contains modules, instead of the default.
1128 +.TP 8
1129 +\fB\-p\fP
1130 +Print the parsed configuration file in its internal form and exit.
1131 +.TP 8
1132 +\fB\-t\fP
1133 +Test the configuration file for syntax errors and exit.
1134 +.TP 8
1135 +\fB\-D\fP
1136 +Do not daemonize (go into background). The default is to daemonize.
1137 +.TP 8
1138 +\fB\-v\fP
1139 +Show version and exit.
1140 +.TP 8
1141 +\fB\-V\fP
1142 +Show compile-time features and exit.
1143 +.TP 8
1144 +\fB\-h\fP
1145 +Show a brief help message and exit.
1146 +.
1147 +.SH FILES
1148 +.TP 8
1149 +/etc/lighttpd/lighttpd.conf
1150 +The standard location for the configuration file.
1151 +.TP 8
1152 +/var/run/lighttpd.pid
1153 +The standard location for the PID of the running \fBlighttpd\fP process.
1154 +.
1155 +.SH SEE ALSO
1156 +Online Documentation: http://wiki.lighttpd.net/
1157 +.PP
1158 +spawn-fcgi(1)
1159 +.PP
1160 +\fIHypertext Transfer Protocol -- HTTP/1.1\fP, RFC 2616.
1161 +.PP
1162 +\fIHTTP Authentication: Basic and Digest Access Authentication\fP, RFC 2617.
1163 +.PP
1164 +\fIThe Common Gateway Interface Version 1.1\fP, RFC 3875.
1165 +.PP
1166 +\fIThe FastCGI specification\fP.
1167 +.
1168 +.SH AUTHOR
1169 +Jan Kneschke <jan@kneschke.de>
1170 Index: doc/Makefile.am
1171 ===================================================================
1172 --- doc/Makefile.am     (.../tags/lighttpd-1.4.22)      (revision 2417)
1173 +++ doc/Makefile.am     (.../branches/lighttpd-1.4.x)   (revision 2417)
1174 @@ -1,6 +1,6 @@
1175 -dist_man1_MANS=lighttpd.1 spawn-fcgi.1
1176 +dist_man1_MANS=spawn-fcgi.1
1177 +dist_man8_MANS=lighttpd.8
1178  
1179 -
1180  DOCS=accesslog.txt \
1181  authentication.txt \
1182  cgi.txt \
1183 Index: SConstruct
1184 ===================================================================
1185 Index: NEWS
1186 ===================================================================
1187 --- NEWS        (.../tags/lighttpd-1.4.22)      (revision 2417)
1188 +++ NEWS        (.../branches/lighttpd-1.4.x)   (revision 2417)
1189 @@ -3,7 +3,11 @@
1190  NEWS
1191  ====
1192  
1193 -- 1.4.22 -
1194 +- 1.4.23 -
1195 +  * Added some extra warning options in cmake and fix the resulting warnings (unused/static functions)
1196 +  * New lighttpd man page (moved it to section 8) (fixes #1875)
1197 +
1198 +- 1.4.22 - 2009-03-07
1199    * Fix wrong lua type for CACHE_MISS/CACHE_HIT in mod_cml (fixes #533)
1200    * Fix default vhost in mod_simple_vhost (fixes #1905)
1201    * Handle EINTR in mod_rrdtool (fixes #604)
1202 Index: CMakeLists.txt
1203 ===================================================================
1204
1205 Property changes on: .
1206 ___________________________________________________________________
1207 Modified: bzr:revision-info
1208    - timestamp: 2009-03-07 14:58:05.338000059 +0100
1209 committer: Stefan Bühler <stbuehler@web.de>
1210 properties: 
1211         branch-nick: lighttpd-1.4.x
1212
1213    + timestamp: 2009-03-07 22:04:32.213999987 +0100
1214 committer: Stefan Bühler <stbuehler@web.de>
1215 properties: 
1216         branch-nick: lighttpd-1.4.x
1217
1218 Modified: bzr:file-ids
1219    - 
1220    + doc/lighttpd.8     lighttpd.8-20090307205615-mc312p5ocjwthwte-1
1221
1222 Modified: bzr:revision-id:v3-trunk0
1223    - 1127 stbuehler@web.de-20080728081644-j4cxnhduw8kbt8um
1224 1128 stbuehler@web.de-20080728084246-axvxdtjsrratxixs
1225 1129 stbuehler@web.de-20080729211700-s8v6nq2cu06qesls
1226 1130 stbuehler@web.de-20080729211726-4yxb6e5dva1cn0lz
1227 1131 stbuehler@web.de-20080729211750-4ulzigswx17uciyu
1228 1132 stbuehler@web.de-20080729211850-nliz3kd0m576ztuu
1229 1133 stbuehler@web.de-20080730163440-dg2y2sbf0u4grmn4
1230 1134 stbuehler@web.de-20080730173952-kiutzg6geqy7mick
1231 1135 stbuehler@web.de-20080730193616-9kc2ms7rrhv1lkn7
1232 1136 stbuehler@web.de-20080730211457-z4a6uth1y29glbqh
1233 1137 stbuehler@web.de-20080730213517-b6sjcrdwbmipl334
1234 1138 stbuehler@web.de-20080731102617-2xw8unjfqic7lsew
1235 1139 stbuehler@web.de-20080731102703-q4tu5a6em9y8xdg0
1236 1140 stbuehler@web.de-20080731102729-l6vn5b05w9swqbg5
1237 1141 stbuehler@web.de-20080731102756-oj3d4tnk0l90mj77
1238 1142 stbuehler@web.de-20080731204442-blw14cj2fkr3l8ly
1239 1143 stbuehler@web.de-20080731204508-imtfnurf922mg7tj
1240 1144 stbuehler@web.de-20080801112347-girnwswdkwm8wuip
1241 1145 stbuehler@web.de-20080801161245-kx1temr529o7xko9
1242 1146 stbuehler@web.de-20080801175332-oc9e7x8edn1owcc0
1243 1147 stbuehler@web.de-20080801183454-5i66v0gsdv0cgmia
1244 1148 stbuehler@web.de-20080801192849-6zklfbb832sx0hvr
1245 1149 stbuehler@web.de-20080801203119-o16elp8w854s6lol
1246 1150 stbuehler@web.de-20080802162146-a4v57svc788pwdsv
1247 1151 stbuehler@web.de-20080802162202-9udlc1wuwt09pyh2
1248 1152 stbuehler@web.de-20080804135803-yuor9ze06px7qta4
1249 1153 stbuehler@web.de-20080812194728-fupt781o6q058unh
1250 1154 stbuehler@web.de-20080818162116-piz0ukqsaecv2li2
1251 1155 stbuehler@web.de-20080818235700-94t0xc6ml70zojwq
1252 1156 stbuehler@web.de-20080819163650-1qhwsqszr78cr4xx
1253 1157 stbuehler@web.de-20080819163757-1qq3t1f1wj69t8xs
1254 1158 stbuehler@web.de-20080819163914-rklhkurg8apv85l2
1255 1159 stbuehler@web.de-20080819163953-tlqew751e43phf5b
1256 1160 stbuehler@web.de-20080819164108-8ogh68sm1uyteawe
1257 1161 stbuehler@web.de-20080819173911-w5bqpb7cp9jmdqye
1258 1162 stbuehler@web.de-20080819222242-c0ta5gnli9p3j35a
1259 1163 stbuehler@web.de-20080820100730-g1bwdh4nqb53ag9u
1260 1164 stbuehler@web.de-20080820100752-9pggugdyfnnps8qu
1261 1165 stbuehler@web.de-20080820164258-v2j00motsrsc5esp
1262 1166 stbuehler@web.de-20080827144628-hi9hf4ch3n1wf9ao
1263 1167 stbuehler@web.de-20080827144903-tfxu4yehlyu5kegc
1264 1168 stbuehler@web.de-20080827155155-7mt92orehbxkh2lh
1265 1169 stbuehler@web.de-20080917142048-zbcwpk39q9ewd516
1266 1170 stbuehler@web.de-20080917142300-16gzt21x4nbjtj87
1267 1171 stbuehler@web.de-20080919160134-385anjnd3txxdw3x
1268 1172 stbuehler@web.de-20080920134142-fvvwaw2ys51dg4rj
1269 1173 stbuehler@web.de-20080921153311-1f7rn01atdilmxmy
1270 1174 stbuehler@web.de-20080922101346-wel327kjmykkpvmp
1271 1175 stbuehler@web.de-20080923190422-uow06l38ndue36o4
1272 1176 stbuehler@web.de-20080930112012-53jby2m8xslmd1hm
1273 1177 stbuehler@web.de-20080930134824-j9q72rwuiczzof5k
1274 1178 stbuehler@web.de-20080930142037-32pb6m3zjcwryw1w
1275 1179 stbuehler@web.de-20080930142756-ueovgoshyb996bce
1276 1180 stbuehler@web.de-20080930152935-1zfy67brol3xdbc0
1277 1181 stbuehler@web.de-20080930193919-13n2q4c6fbgw0dkx
1278 1182 stbuehler@web.de-20080930211152-4hmgs95wyg2deol7
1279 1183 stbuehler@web.de-20081001132402-hxnyu6yzyk3mjf4d
1280 1184 stbuehler@web.de-20081001155102-qf0mmu2kkpgr7xf0
1281 1185 stbuehler@web.de-20081001160009-n67ss0vzlac2y60k
1282 1186 stbuehler@web.de-20081001200802-l5og517etnneitk0
1283 1188 stbuehler@web.de-20081004160711-ygaohrecmutiqlla
1284 1189 stbuehler@web.de-20081004211932-vq16u26mthbeed7d
1285 1191 stbuehler@web.de-20081005224446-1bztt6zqrjh8w8fd
1286 1192 stbuehler@web.de-20081012114652-ihgz590f0gl5gxpw
1287 1193 stbuehler@web.de-20081012114716-jnzljhexi4z2gh92
1288 1195 stbuehler@web.de-20081016120614-kz39vxtz1pebho0o
1289 1196 stbuehler@web.de-20081016121103-trug4hts0o62d1ut
1290 1197 stbuehler@web.de-20081016121114-65quosenmso8frf8
1291 1198 stbuehler@web.de-20081016121421-xjjb7fb53pxu6odj
1292 1199 stbuehler@web.de-20081205222033-6qok7y19pwp3kxm9
1293 1200 stbuehler@web.de-20081205222811-49izmzxui0y9ncq6
1294 1201 stbuehler@web.de-20081205233903-708beaujtf26gprx
1295 1202 stbuehler@web.de-20081207151631-yv9bdf94zw83jxpv
1296 1203 stbuehler@web.de-20081207151822-mhyg0gkedmttdqvd
1297 1204 stbuehler@web.de-20081207151835-1m3yta2fjc4pgb8y
1298 1205 stbuehler@web.de-20081218221139-w8los43bjbhy9urh
1299 1206 stbuehler@web.de-20081218222305-5wz7000a62iqa81r
1300 1208 stbuehler@web.de-20090203201352-ivan8lsb3nkv1go5
1301 1209 stbuehler@web.de-20090203204231-03zjmk7qiol9yxgq
1302 1210 stbuehler@web.de-20090203210157-bx1e59fqple5oj3v
1303 1211 stbuehler@web.de-20090203221006-qd6w80m7lmeqgrjh
1304 1212 stbuehler@web.de-20090203225303-3dwmialad2u720h8
1305 1213 stbuehler@web.de-20090204102521-jl3vo2ftp5rsbx9y
1306 1214 stbuehler@web.de-20090204151616-n56of74dydkqdkgh
1307 1215 stbuehler@web.de-20090204172956-6wzsv0nm5nxcgfym
1308 1216 stbuehler@web.de-20090205105134-6i5key9439wspueq
1309 1217 stbuehler@web.de-20090205114017-0voscqjd5bdm9mwv
1310 1218 stbuehler@web.de-20090205114442-peekxwpevjl3t7j3
1311 1219 stbuehler@web.de-20090205215425-vicbc6hzb3at7gj9
1312 1220 stbuehler@web.de-20090205220741-vqz9l1eui3dwnulq
1313 1221 stbuehler@web.de-20090205222705-8179v6jkv2x38l70
1314 1222 stbuehler@web.de-20090210194631-6epujtpen9xfxx5j
1315 1223 stbuehler@web.de-20090216134207-fg99ikt1ds21hx25
1316 1224 stbuehler@web.de-20090217085833-9g5c7j7zdylvezl5
1317 1225 stbuehler@web.de-20090217133414-y80hydn9raqgkgto
1318 1226 stbuehler@web.de-20090217224447-ve7ns45c9otbgz9h
1319 1227 stbuehler@web.de-20090219130703-117t93t4hr4j0e8d
1320 1228 stbuehler@web.de-20090219130728-m8nui64vin0w95b2
1321 1229 stbuehler@web.de-20090219131550-exi19tbqyd8fpa0d
1322 1230 stbuehler@web.de-20090224133046-toewpee0ybw5tuay
1323 1231 stbuehler@web.de-20090228205351-yqjhutdqf30jr66o
1324 1232 stbuehler@web.de-20090228213824-gnwuf6by8705g6zk
1325 1233 stbuehler@web.de-20090303100525-kamra70ocxpji0l5
1326 1234 stbuehler@web.de-20090303100929-p4w2995k61yhxws2
1327 1235 stbuehler@web.de-20090307135056-02q8f6l1e5jehu9y
1328 1236 stbuehler@web.de-20090307135805-z488kad68sgcjtzz
1329
1330    + 1127 stbuehler@web.de-20080728081644-j4cxnhduw8kbt8um
1331 1128 stbuehler@web.de-20080728084246-axvxdtjsrratxixs
1332 1129 stbuehler@web.de-20080729211700-s8v6nq2cu06qesls
1333 1130 stbuehler@web.de-20080729211726-4yxb6e5dva1cn0lz
1334 1131 stbuehler@web.de-20080729211750-4ulzigswx17uciyu
1335 1132 stbuehler@web.de-20080729211850-nliz3kd0m576ztuu
1336 1133 stbuehler@web.de-20080730163440-dg2y2sbf0u4grmn4
1337 1134 stbuehler@web.de-20080730173952-kiutzg6geqy7mick
1338 1135 stbuehler@web.de-20080730193616-9kc2ms7rrhv1lkn7
1339 1136 stbuehler@web.de-20080730211457-z4a6uth1y29glbqh
1340 1137 stbuehler@web.de-20080730213517-b6sjcrdwbmipl334
1341 1138 stbuehler@web.de-20080731102617-2xw8unjfqic7lsew
1342 1139 stbuehler@web.de-20080731102703-q4tu5a6em9y8xdg0
1343 1140 stbuehler@web.de-20080731102729-l6vn5b05w9swqbg5
1344 1141 stbuehler@web.de-20080731102756-oj3d4tnk0l90mj77
1345 1142 stbuehler@web.de-20080731204442-blw14cj2fkr3l8ly
1346 1143 stbuehler@web.de-20080731204508-imtfnurf922mg7tj
1347 1144 stbuehler@web.de-20080801112347-girnwswdkwm8wuip
1348 1145 stbuehler@web.de-20080801161245-kx1temr529o7xko9
1349 1146 stbuehler@web.de-20080801175332-oc9e7x8edn1owcc0
1350 1147 stbuehler@web.de-20080801183454-5i66v0gsdv0cgmia
1351 1148 stbuehler@web.de-20080801192849-6zklfbb832sx0hvr
1352 1149 stbuehler@web.de-20080801203119-o16elp8w854s6lol
1353 1150 stbuehler@web.de-20080802162146-a4v57svc788pwdsv
1354 1151 stbuehler@web.de-20080802162202-9udlc1wuwt09pyh2
1355 1152 stbuehler@web.de-20080804135803-yuor9ze06px7qta4
1356 1153 stbuehler@web.de-20080812194728-fupt781o6q058unh
1357 1154 stbuehler@web.de-20080818162116-piz0ukqsaecv2li2
1358 1155 stbuehler@web.de-20080818235700-94t0xc6ml70zojwq
1359 1156 stbuehler@web.de-20080819163650-1qhwsqszr78cr4xx
1360 1157 stbuehler@web.de-20080819163757-1qq3t1f1wj69t8xs
1361 1158 stbuehler@web.de-20080819163914-rklhkurg8apv85l2
1362 1159 stbuehler@web.de-20080819163953-tlqew751e43phf5b
1363 1160 stbuehler@web.de-20080819164108-8ogh68sm1uyteawe
1364 1161 stbuehler@web.de-20080819173911-w5bqpb7cp9jmdqye
1365 1162 stbuehler@web.de-20080819222242-c0ta5gnli9p3j35a
1366 1163 stbuehler@web.de-20080820100730-g1bwdh4nqb53ag9u
1367 1164 stbuehler@web.de-20080820100752-9pggugdyfnnps8qu
1368 1165 stbuehler@web.de-20080820164258-v2j00motsrsc5esp
1369 1166 stbuehler@web.de-20080827144628-hi9hf4ch3n1wf9ao
1370 1167 stbuehler@web.de-20080827144903-tfxu4yehlyu5kegc
1371 1168 stbuehler@web.de-20080827155155-7mt92orehbxkh2lh
1372 1169 stbuehler@web.de-20080917142048-zbcwpk39q9ewd516
1373 1170 stbuehler@web.de-20080917142300-16gzt21x4nbjtj87
1374 1171 stbuehler@web.de-20080919160134-385anjnd3txxdw3x
1375 1172 stbuehler@web.de-20080920134142-fvvwaw2ys51dg4rj
1376 1173 stbuehler@web.de-20080921153311-1f7rn01atdilmxmy
1377 1174 stbuehler@web.de-20080922101346-wel327kjmykkpvmp
1378 1175 stbuehler@web.de-20080923190422-uow06l38ndue36o4
1379 1176 stbuehler@web.de-20080930112012-53jby2m8xslmd1hm
1380 1177 stbuehler@web.de-20080930134824-j9q72rwuiczzof5k
1381 1178 stbuehler@web.de-20080930142037-32pb6m3zjcwryw1w
1382 1179 stbuehler@web.de-20080930142756-ueovgoshyb996bce
1383 1180 stbuehler@web.de-20080930152935-1zfy67brol3xdbc0
1384 1181 stbuehler@web.de-20080930193919-13n2q4c6fbgw0dkx
1385 1182 stbuehler@web.de-20080930211152-4hmgs95wyg2deol7
1386 1183 stbuehler@web.de-20081001132402-hxnyu6yzyk3mjf4d
1387 1184 stbuehler@web.de-20081001155102-qf0mmu2kkpgr7xf0
1388 1185 stbuehler@web.de-20081001160009-n67ss0vzlac2y60k
1389 1186 stbuehler@web.de-20081001200802-l5og517etnneitk0
1390 1188 stbuehler@web.de-20081004160711-ygaohrecmutiqlla
1391 1189 stbuehler@web.de-20081004211932-vq16u26mthbeed7d
1392 1191 stbuehler@web.de-20081005224446-1bztt6zqrjh8w8fd
1393 1192 stbuehler@web.de-20081012114652-ihgz590f0gl5gxpw
1394 1193 stbuehler@web.de-20081012114716-jnzljhexi4z2gh92
1395 1195 stbuehler@web.de-20081016120614-kz39vxtz1pebho0o
1396 1196 stbuehler@web.de-20081016121103-trug4hts0o62d1ut
1397 1197 stbuehler@web.de-20081016121114-65quosenmso8frf8
1398 1198 stbuehler@web.de-20081016121421-xjjb7fb53pxu6odj
1399 1199 stbuehler@web.de-20081205222033-6qok7y19pwp3kxm9
1400 1200 stbuehler@web.de-20081205222811-49izmzxui0y9ncq6
1401 1201 stbuehler@web.de-20081205233903-708beaujtf26gprx
1402 1202 stbuehler@web.de-20081207151631-yv9bdf94zw83jxpv
1403 1203 stbuehler@web.de-20081207151822-mhyg0gkedmttdqvd
1404 1204 stbuehler@web.de-20081207151835-1m3yta2fjc4pgb8y
1405 1205 stbuehler@web.de-20081218221139-w8los43bjbhy9urh
1406 1206 stbuehler@web.de-20081218222305-5wz7000a62iqa81r
1407 1208 stbuehler@web.de-20090203201352-ivan8lsb3nkv1go5
1408 1209 stbuehler@web.de-20090203204231-03zjmk7qiol9yxgq
1409 1210 stbuehler@web.de-20090203210157-bx1e59fqple5oj3v
1410 1211 stbuehler@web.de-20090203221006-qd6w80m7lmeqgrjh
1411 1212 stbuehler@web.de-20090203225303-3dwmialad2u720h8
1412 1213 stbuehler@web.de-20090204102521-jl3vo2ftp5rsbx9y
1413 1214 stbuehler@web.de-20090204151616-n56of74dydkqdkgh
1414 1215 stbuehler@web.de-20090204172956-6wzsv0nm5nxcgfym
1415 1216 stbuehler@web.de-20090205105134-6i5key9439wspueq
1416 1217 stbuehler@web.de-20090205114017-0voscqjd5bdm9mwv
1417 1218 stbuehler@web.de-20090205114442-peekxwpevjl3t7j3
1418 1219 stbuehler@web.de-20090205215425-vicbc6hzb3at7gj9
1419 1220 stbuehler@web.de-20090205220741-vqz9l1eui3dwnulq
1420 1221 stbuehler@web.de-20090205222705-8179v6jkv2x38l70
1421 1222 stbuehler@web.de-20090210194631-6epujtpen9xfxx5j
1422 1223 stbuehler@web.de-20090216134207-fg99ikt1ds21hx25
1423 1224 stbuehler@web.de-20090217085833-9g5c7j7zdylvezl5
1424 1225 stbuehler@web.de-20090217133414-y80hydn9raqgkgto
1425 1226 stbuehler@web.de-20090217224447-ve7ns45c9otbgz9h
1426 1227 stbuehler@web.de-20090219130703-117t93t4hr4j0e8d
1427 1228 stbuehler@web.de-20090219130728-m8nui64vin0w95b2
1428 1229 stbuehler@web.de-20090219131550-exi19tbqyd8fpa0d
1429 1230 stbuehler@web.de-20090224133046-toewpee0ybw5tuay
1430 1231 stbuehler@web.de-20090228205351-yqjhutdqf30jr66o
1431 1232 stbuehler@web.de-20090228213824-gnwuf6by8705g6zk
1432 1233 stbuehler@web.de-20090303100525-kamra70ocxpji0l5
1433 1234 stbuehler@web.de-20090303100929-p4w2995k61yhxws2
1434 1235 stbuehler@web.de-20090307135056-02q8f6l1e5jehu9y
1435 1236 stbuehler@web.de-20090307135805-z488kad68sgcjtzz
1436 1237 stbuehler@web.de-20090307154555-xybvl7sxrha6vhds
1437 1238 stbuehler@web.de-20090307204326-10m0681831yvhi3k
1438 1239 stbuehler@web.de-20090307204846-seq3cmzn6dy9927i
1439 1240 stbuehler@web.de-20090307205519-ha3s58fcum106yl0
1440 1241 stbuehler@web.de-20090307210432-jdlv5pp9m519vyv2
1441
1442
This page took 0.27563 seconds and 4 git commands to generate.