Changeset 5841
- Timestamp:
- May 16, 2008, 4:53:11 AM (14 years ago)
- Location:
- trunk/third-party/shttpd
- Files:
-
- 6 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/third-party/shttpd/Makefile.am
r5822 r5841 1 2 # FIXME: build the compat_*.c files conditionally3 1 4 2 noinst_LIBRARIES = libshttpd.a 5 3 4 AM_CPPFLAGS = -DEMBEDDED -DNDEBUG -DNO_CGI -DNO_SSI 5 6 6 libshttpd_a_SOURCES = \ 7 string.c shttpd.c log.c auth.c md5.c cgi.c config.c io_ssi.c\7 string.c shttpd.c log.c auth.c md5.c cgi.c config.c \ 8 8 io_file.c io_socket.c io_ssl.c io_emb.c io_dir.c io_cgi.c \ 9 9 compat_unix.c … … 11 11 noinst_HEADERS = \ 12 12 defs.h llist.h shttpd.h std_includes.h io.h md5.h ssl.h \ 13 compat_unix.h compat_ win32.h compat_rtems.h config.h13 compat_unix.h compat_rtems.h config.h 14 14 15 15 extra_DIST = \ -
trunk/third-party/shttpd/config.c
r5822 r5841 297 297 LL_INIT(&ctx->error_handlers); 298 298 LL_INIT(&ctx->acl); 299 #if !defined(NO_SSI) 299 300 LL_INIT(&ctx->ssi_funcs); 301 #endif 300 302 LL_INIT(&ctx->listeners); 301 303 -
trunk/third-party/shttpd/config.h
r5822 r5841 12 12 #define CONFIG_HEADER_DEFINED 13 13 14 #undef VERSION 14 15 #define VERSION "1.39" /* Version */ 15 16 #define CONFIG_FILE "shttpd.conf" /* Configuration file */ 16 17 #define HTPASSWD ".htpasswd" /* Passwords file name */ 17 #define URI_MAX 16384/* Default max request size */18 #define URI_MAX 65536 /* Default max request size */ 18 19 #define LISTENING_PORTS "80" /* Default listening ports */ 19 20 #define INDEX_FILES "index.html,index.htm,index.php,index.cgi" -
trunk/third-party/shttpd/defs.h
r5822 r5841 242 242 struct llhead error_handlers; /* Embedded error handlers */ 243 243 struct llhead acl; /* Access control list */ 244 #if !defined(NO_SSI) 244 245 struct llhead ssi_funcs; /* SSI callback functions */ 246 #endif 245 247 struct llhead listeners; /* Listening sockets */ 246 248 … … 359 361 extern struct registered_uri *is_registered_uri(struct shttpd_ctx *, 360 362 const char *uri); 363 #if !defined(NO_SSI) 361 364 extern void do_ssi(struct conn *); 362 365 extern void ssi_func_destructor(struct llhead *lp); 366 #endif 363 367 364 368 /* -
trunk/third-party/shttpd/shttpd.c
r5822 r5841 1206 1206 free_list(&ctx->acl, acl_destructor); 1207 1207 free_list(&ctx->listeners, listener_destructor); 1208 #if !defined(NO_SSI) 1208 1209 free_list(&ctx->ssi_funcs, ssi_func_destructor); 1210 #endif 1209 1211 1210 1212 for (i = 0; i < NELEMS(ctx->options); i++)
Note: See TracChangeset
for help on using the changeset viewer.