diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-14 16:50:01 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-14 16:50:01 +0000 |
commit | 0372f0f1999ace825a2265ad03b80be627b039fb (patch) | |
tree | dad5e396079ce4432219dfc3f26762040d23f5cb /include | |
parent | 3d17d2b430a6a68c967b789c990cc441154d695e (diff) | |
download | busybox-w32-0372f0f1999ace825a2265ad03b80be627b039fb.tar.gz busybox-w32-0372f0f1999ace825a2265ad03b80be627b039fb.tar.bz2 busybox-w32-0372f0f1999ace825a2265ad03b80be627b039fb.zip |
httpd: extend -p PORT to -p [IP[v6]:]PORT
httpd: comment out strange code which "closes connection properly"
(isnt exit(0) good enough?)
handle_incoming_and_exit - 2246 +2246
httpd_main 1116 1141 +25
getLine 75 77 +2
packed_usage 22827 22811 -16
parse_conf 1303 1284 -19
shutdown 32 - -32
handleIncoming 2578 - -2578
------------------------------------------------------------------------------
(add/remove: 1/2 grow/shrink: 2/2 up/down: 2273/-2645) Total: -372 bytes
text data bss dec hex filename
774704 1058 11092 786854 c01a6 busybox_old
774335 1058 11092 786485 c0035 busybox_unstripped
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/include/usage.h b/include/usage.h index 1d4459df1..41459e8c3 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -1352,21 +1352,21 @@ | |||
1352 | " [-h home]" \ | 1352 | " [-h home]" \ |
1353 | " [-d/-e string]" | 1353 | " [-d/-e string]" |
1354 | #define httpd_full_usage \ | 1354 | #define httpd_full_usage \ |
1355 | "Listen for incoming http server requests" \ | 1355 | "Listen for incoming HTTP requests" \ |
1356 | "\n\nOptions:\n" \ | 1356 | "\n\nOptions:" \ |
1357 | " -c FILE Specifies configuration file. (default httpd.conf)\n" \ | 1357 | "\n -c FILE Configuration file (default httpd.conf)" \ |
1358 | " -p PORT Server port (default 80)\n" \ | 1358 | "\n -p PORT Server port (default 80)" \ |
1359 | " -i Assume that we are started from inetd\n" \ | 1359 | "\n -i Inetd mode" \ |
1360 | " -f Do not daemonize\n" \ | 1360 | "\n -f Do not daemonize" \ |
1361 | USE_FEATURE_HTTPD_SETUID( \ | 1361 | USE_FEATURE_HTTPD_SETUID( \ |
1362 | " -u USER[:GRP] Set uid/gid after binding to port\n") \ | 1362 | "\n -u USER[:GRP] Set uid/gid after binding to port") \ |
1363 | USE_FEATURE_HTTPD_BASIC_AUTH( \ | 1363 | USE_FEATURE_HTTPD_BASIC_AUTH( \ |
1364 | " -r REALM Authentication Realm for Basic Authentication\n") \ | 1364 | "\n -r REALM Authentication Realm for Basic Authentication") \ |
1365 | USE_FEATURE_HTTPD_AUTH_MD5( \ | 1365 | USE_FEATURE_HTTPD_AUTH_MD5( \ |
1366 | " -m PASS Crypt PASS with md5 algorithm\n") \ | 1366 | "\n -m PASS Crypt PASS with md5 algorithm") \ |
1367 | " -h HOME Specifies http HOME directory (default ./)\n" \ | 1367 | "\n -h HOME Home directory (default .)" \ |
1368 | " -e STRING HTML encode STRING\n" \ | 1368 | "\n -e STRING HTML encode STRING" \ |
1369 | " -d STRING URL decode STRING" | 1369 | "\n -d STRING URL decode STRING" |
1370 | 1370 | ||
1371 | #define hwclock_trivial_usage \ | 1371 | #define hwclock_trivial_usage \ |
1372 | "[-r|--show] [-s|--hctosys] [-w|--systohc]" \ | 1372 | "[-r|--show] [-s|--hctosys] [-w|--systohc]" \ |