Commit Graph

78 Commits

Author SHA1 Message Date
Fish (David B Trout)
78ea621d04 Put ensure consistent create_thread ATTR usage change back in
git-svn-id: file:///home/jj/hercules.svn/trunk@4908 956126f8-22a0-4046-8f4a-272fa8102e63
2008-11-04 05:56:31 +00:00
Roger Bowler
6302d56d42 Back out consistent create_thread ATTR modification
git-svn-id: file:///home/jj/hercules.svn/trunk@4905 956126f8-22a0-4046-8f4a-272fa8102e63
2008-11-03 15:31:58 +00:00
Fish (David B Trout)
33bd4dd1c9 Ensure consistent create_thread ATTR usage
git-svn-id: file:///home/jj/hercules.svn/trunk@4890 956126f8-22a0-4046-8f4a-272fa8102e63
2008-10-18 09:32:21 +00:00
Fish (David B Trout)
22b1206658 (use R_OK constant)
git-svn-id: file:///home/jj/hercules.svn/trunk@4784 956126f8-22a0-4046-8f4a-272fa8102e63
2008-05-28 16:39:44 +00:00
Ivan Warren
0a090d20e9 Update copyright notices to include current year (2007)
git-svn-id: file:///home/jj/hercules.svn/trunk@4405 956126f8-22a0-4046-8f4a-272fa8102e63
2007-06-23 00:04:19 +00:00
Fish (David B Trout)
30832eac08 Use "access()" to validate http_server root directory and not "chdir()"!!
git-svn-id: file:///home/jj/hercules.svn/trunk@4191 956126f8-22a0-4046-8f4a-272fa8102e63
2006-12-31 23:49:00 +00:00
Jan Jaeger
64b9a97a0d Add CVS message log
git-svn-id: file:///home/jj/hercules.svn/trunk@4102 956126f8-22a0-4046-8f4a-272fa8102e63
2006-12-08 09:43:35 +00:00
Jay Maynard
6004ab7d00 Several minor bugfixes from Peter Coghlan.
git-svn-id: file:///home/jj/hercules.svn/trunk@3921 956126f8-22a0-4046-8f4a-272fa8102e63
2006-07-21 13:42:29 +00:00
Fish (David B Trout)
d3e0b7113c PR#s misc/21 and network/62: HTTP Server: do 'shutdown' to gracefully close connection before closing the socket.
git-svn-id: file:///home/jj/hercules.svn/trunk@3911 956126f8-22a0-4046-8f4a-272fa8102e63
2006-06-23 09:32:53 +00:00
Fish (David B Trout)
16ce45e6c5 Addt'l minor http server fixes from John Yodsnukis
git-svn-id: file:///home/jj/hercules.svn/trunk@3648 956126f8-22a0-4046-8f4a-272fa8102e63
2006-01-29 01:18:27 +00:00
Fish (David B Trout)
bf125a4017 Export some httpserv functions to allow building of 'dyncgi'-type dynamic modules
git-svn-id: file:///home/jj/hercules.svn/trunk@3638 956126f8-22a0-4046-8f4a-272fa8102e63
2006-01-24 18:16:33 +00:00
Greg Smith
9bb9cc5732 19 Jan 2006 Tweaks to SET_THREAD_NAME - Greg Smith
git-svn-id: file:///home/jj/hercules.svn/trunk@3636 956126f8-22a0-4046-8f4a-272fa8102e63
2006-01-20 01:09:30 +00:00
Fish (David B Trout)
e219ebea50 SET_THREAD_NAME for easier MSVC debugging
git-svn-id: file:///home/jj/hercules.svn/trunk@3555 956126f8-22a0-4046-8f4a-272fa8102e63
2005-12-31 20:01:59 +00:00
Jan Jaeger
52f1e00b35 Update copyright notice
git-svn-id: file:///home/jj/hercules.svn/trunk@3551 956126f8-22a0-4046-8f4a-272fa8102e63
2005-12-31 13:16:00 +00:00
Jan Jaeger
5fff5e824d Removed outdated comment - no functional change
git-svn-id: file:///home/jj/hercules.svn/trunk@3496 956126f8-22a0-4046-8f4a-272fa8102e63
2005-12-25 10:56:39 +00:00
Ivan Warren
564ac8d31b Update to HTTP server to allow more reliable operations under MSVC
git-svn-id: file:///home/jj/hercules.svn/trunk@3478 956126f8-22a0-4046-8f4a-272fa8102e63
2005-12-20 17:43:05 +00:00
Jay Maynard
11e8ed8dc9 Making the .ico MIME type consistent with actual web practice.
git-svn-id: file:///home/jj/hercules.svn/trunk@3465 956126f8-22a0-4046-8f4a-272fa8102e63
2005-12-19 15:52:28 +00:00
Jay Maynard
3ae665b381 Add MIME type for .ico files.
git-svn-id: file:///home/jj/hercules.svn/trunk@3463 956126f8-22a0-4046-8f4a-272fa8102e63
2005-12-19 15:30:39 +00:00
Fish (David B Trout)
c5d328d541 Identify HTTPROOT in HHCCF066E
git-svn-id: file:///home/jj/hercules.svn/trunk@3461 956126f8-22a0-4046-8f4a-272fa8102e63
2005-12-19 00:55:56 +00:00
Fish (David B Trout)
79d98438af Use strlcat instead of strcat to prevent potential buffer overflow
git-svn-id: file:///home/jj/hercules.svn/trunk@3459 956126f8-22a0-4046-8f4a-272fa8102e63
2005-12-19 00:23:27 +00:00
Jay Maynard
c810854f0b Fixed missing \html at end of MSVC default HTTP document root.
git-svn-id: file:///home/jj/hercules.svn/trunk@3455 956126f8-22a0-4046-8f4a-272fa8102e63
2005-12-18 22:45:30 +00:00
Jay Maynard
1de3dc826e Added code to display actual HTTPROOT at startup.
git-svn-id: file:///home/jj/hercules.svn/trunk@3451 956126f8-22a0-4046-8f4a-272fa8102e63
2005-12-18 22:01:51 +00:00
Jan Jaeger
53a4bfa7ce Added new html files to Makefile.am
Updated technical support link in index.html
Cosmetic change to httpserv.c - no functional change


git-svn-id: file:///home/jj/hercules.svn/trunk@3365 956126f8-22a0-4046-8f4a-272fa8102e63
2005-12-10 19:59:47 +00:00
Jan Jaeger
a65d38dfbd Second attempt on a trivial mod
git-svn-id: file:///home/jj/hercules.svn/trunk@3212 956126f8-22a0-4046-8f4a-272fa8102e63
2005-11-20 11:32:36 +00:00
Roger Bowler
a57ded189b Backout httpserv.c rev 1.53 gives (659) : warning C4047: '!=' : 'int' differs in levels of indirection f
rom 'char [2]'


git-svn-id: file:///home/jj/hercules.svn/trunk@3209 956126f8-22a0-4046-8f4a-272fa8102e63
2005-11-19 23:58:30 +00:00
Jan Jaeger
e216b1e6a9 Minor update - use either / or \ depending on host arch
git-svn-id: file:///home/jj/hercules.svn/trunk@3208 956126f8-22a0-4046-8f4a-272fa8102e63
2005-11-19 18:29:47 +00:00
Fish (David B Trout)
865e91cb4d Expand environment vars in httproot if msvc
git-svn-id: file:///home/jj/hercules.svn/trunk@3205 956126f8-22a0-4046-8f4a-272fa8102e63
2005-11-19 03:45:57 +00:00
Fish (David B Trout)
a24f0238dc Add trailing [back]slash to httproot only if needed
git-svn-id: file:///home/jj/hercules.svn/trunk@3204 956126f8-22a0-4046-8f4a-272fa8102e63
2005-11-19 02:35:12 +00:00
Fish (David B Trout)
255a726844 fix 'get_process_directory' unresolved for cygwin builds (#ifdef _MSVC_, not WIN32)
git-svn-id: file:///home/jj/hercules.svn/trunk@3182 956126f8-22a0-4046-8f4a-272fa8102e63
2005-11-13 19:37:41 +00:00
Jan Jaeger
018f26924f Added comments - no functional change
git-svn-id: file:///home/jj/hercules.svn/trunk@3175 956126f8-22a0-4046-8f4a-272fa8102e63
2005-11-13 09:44:31 +00:00
Jan Jaeger
b63be49856 http msvc fixes
msvc streams cannot be used to both read and write from the same socket (!)


git-svn-id: file:///home/jj/hercules.svn/trunk@3167 956126f8-22a0-4046-8f4a-272fa8102e63
2005-11-12 18:27:48 +00:00
Roger Bowler
d42518b111 Fix httpserv so that it at least compiles under MSVC
git-svn-id: file:///home/jj/hercules.svn/trunk@3162 956126f8-22a0-4046-8f4a-272fa8102e63
2005-11-10 10:32:56 +00:00
Jan Jaeger
eaecb4cab0 Rollback some undetermined changes that cause:
1) storage overlays in the cgi table
2) mozilla (and maybe other browsers) to hang on an ipl command
3) various write errors on sockets
4) authentication failure in http_authenticate
5) ...


git-svn-id: file:///home/jj/hercules.svn/trunk@3161 956126f8-22a0-4046-8f4a-272fa8102e63
2005-11-09 19:41:17 +00:00
Fish (David B Trout)
045d2fe1b7 Fix extra path separator issue in http_download
git-svn-id: file:///home/jj/hercules.svn/trunk@3093 956126f8-22a0-4046-8f4a-272fa8102e63
2005-10-20 15:13:46 +00:00
Jay Maynard
2370aac4ee The big move: moving MSVC (mingw_port) branch to the trunk. Cross your
fingers...


git-svn-id: file:///home/jj/hercules.svn/trunk@3027 956126f8-22a0-4046-8f4a-272fa8102e63
2005-09-24 16:17:46 +00:00
Jan Jaeger
38b2d90e1b Add 1052/3215 integrated console
Update copyright to reflect 2005


git-svn-id: file:///home/jj/hercules.svn/trunk@2563 956126f8-22a0-4046-8f4a-272fa8102e63
2005-01-02 16:10:14 +00:00
Greg Smith
cdaa3c8e87 30 Nov 2004 Use SLEEP() to ensure sleep for `n' seconds - Greg Smith
git-svn-id: file:///home/jj/hercules.svn/trunk@2513 956126f8-22a0-4046-8f4a-272fa8102e63
2004-12-01 03:23:17 +00:00
Fish (David B Trout)
a169d310ee OPTION_WAKEUP_SELECT_VIA_PIPE
git-svn-id: file:///home/jj/hercules.svn/trunk@2444 956126f8-22a0-4046-8f4a-272fa8102e63
2004-10-07 22:59:24 +00:00
Ivan Warren
b2107964fe -Wall renablement - And insuing warnings removal
git-svn-id: file:///home/jj/hercules.svn/trunk@2419 956126f8-22a0-4046-8f4a-272fa8102e63
2004-09-23 17:11:57 +00:00
Jan Jaeger
0f549f13fb Copyright 2004
git-svn-id: file:///home/jj/hercules.svn/trunk@2144 956126f8-22a0-4046-8f4a-272fa8102e63
2004-01-02 20:06:32 +00:00
Jan Jaeger
ec70b11b9d Move HTTPROOT checks to httpserv.c (consolidate http server code)
git-svn-id: file:///home/jj/hercules.svn/trunk@2022 956126f8-22a0-4046-8f4a-272fa8102e63
2003-09-27 10:22:07 +00:00
Fish (David B Trout)
b0fc860091 mostly dasdcopy & http server fixes; see CHANGES for details
git-svn-id: file:///home/jj/hercules.svn/trunk@2016 956126f8-22a0-4046-8f4a-272fa8102e63
2003-09-26 00:58:00 +00:00
Jan Jaeger
37a53b10d4 Add HTTP_PATH_LENGTH constant
git-svn-id: file:///home/jj/hercules.svn/trunk@1802 956126f8-22a0-4046-8f4a-272fa8102e63
2003-08-23 10:34:10 +00:00
Fish (David B Trout)
50fc7b0cb9 (see CHANGES)
git-svn-id: file:///home/jj/hercules.svn/trunk@1797 956126f8-22a0-4046-8f4a-272fa8102e63
2003-08-22 15:30:30 +00:00
Jan Jaeger
fcd438b7e3 Add dynamically loaded cgi support
git-svn-id: file:///home/jj/hercules.svn/trunk@1522 956126f8-22a0-4046-8f4a-272fa8102e63
2003-06-27 17:03:52 +00:00
Ivan Warren
718f850d3a Ensure no strncat overrun
git-svn-id: file:///home/jj/hercules.svn/trunk@1408 956126f8-22a0-4046-8f4a-272fa8102e63
2003-06-03 09:38:57 +00:00
Jan Jaeger
69ca87cc62 Rollback a number of changes :-(
git-svn-id: file:///home/jj/hercules.svn/trunk@1403 956126f8-22a0-4046-8f4a-272fa8102e63
2003-06-02 13:16:07 +00:00
Ivan Warren
dfdd927567 Replace strncat with safe_strcat
git-svn-id: file:///home/jj/hercules.svn/trunk@1398 956126f8-22a0-4046-8f4a-272fa8102e63
2003-06-01 20:16:26 +00:00
Fish (David B Trout)
b4fae6f1f0 MANY changes. See CHANGES member for details.
git-svn-id: file:///home/jj/hercules.svn/trunk@1391 956126f8-22a0-4046-8f4a-272fa8102e63
2003-06-01 11:46:25 +00:00
Jan Jaeger
54bd93f0f1 Clarified a few comments
git-svn-id: file:///home/jj/hercules.svn/trunk@1161 956126f8-22a0-4046-8f4a-272fa8102e63
2003-02-08 09:43:28 +00:00