aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Take out debug statement.tradke2002-01-07
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@148 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Fixed debug statement.tradke2002-01-07
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@147 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Don't print estimated times per iteration / to completion at iteration 0tradke2002-01-04
| | | | | | | to avoid division by zero. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@146 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Callback functions, which serve registered pages, take a 'const cGH *'tradke2002-01-04
| | | | | | | argument now. Also fixed a small memory leak in redirection code. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@145 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* removinglanfer2001-12-10
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@144 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* increased QuickLinks[524] QuickLinks[1524], was giving corrupted html code ↵lanfer2001-11-21
| | | | | | when many thorns added their pages to QuickLinks. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@143 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Made the HTTP server more compliant with the standard - it nowgoodale2001-11-21
| | | | | | | | | | | | waits for the \r\n\r\n indicating the end of the HTTP header fields before beginning to process the request. It currently also does the same if it gets a \n\n as this is useful for debugging with telnet and I suspect other servers allow this too. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@142 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* fixlanfer2001-11-13
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@141 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* temp. fix to read bigger data, ignore this file, sc relatedlanfer2001-11-13
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@140 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Bugfix for announcing a redirected URL.tradke2001-11-12
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@139 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Bugfix.tradke2001-11-12
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@138 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Announce the HTTPD server URL into an HTML file "server_url.html" in directorytradke2001-11-12
| | | | | | | | | HTPPD::announce_server_url_outdir if parameter HTTPD::announce_server_url was set to "yes". This is a dirty hack for SC'01 which will probably be taken back soon. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@137 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* increasing maximal message size for http based communicationlanfer2001-11-12
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@136 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Fixed a division by zero when printing the runtime at cctk_iteration == 0.tradke2001-11-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@135 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* gcc compiler warnings fixed.tradke2001-09-20
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@134 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Declare image array as 'unsigned char []'. Prevents hundreds of warningstradke2001-09-07
| | | | | | | from the Fujitsu compiler. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@132 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Print info message if an address gets redirected.tradke2001-05-21
| | | | | | | Switched off debugging output. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@131 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Fixed compiler warnings.tradke2001-05-19
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@130 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Moving John's redirection stuff into a file of its own as it is a logicallygoodale2001-05-18
| | | | | | | | | | | | | | independent system. All files except Startup.c and make.code.defn should be pretty much back at their beta10 state if you're trying to track this change back in time. Redirect stuff is now in Redirect.c and http_Redirect.h. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@129 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Modifications so that all cluster nodes involved in a simulation willjshalf2001-05-18
| | | | | | | | | | | use http server redirect to route web-browsers to the master httpd node. The modifications are able to sense the different between nodes on the same SMP with shared network interface and those on different boxes. Tested on SP2, IA64, and IA32 clusters so far. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@128 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Making rcsid strings constant - PR 669.goodale2001-05-10
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@126 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* FILEVERSION fixallen2001-05-06
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@125 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* CCTK_FILEVERSIONallen2001-05-06
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@124 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Set the "HTTPD::terminate" parameter at shutdown in order to flag terminationtradke2001-05-03
| | | | | | | to the polling thread. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@123 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* T3E compiler refuses to implicitly cast 'const <something> *' pointerstradke2001-04-22
| | | | | | | | to 'void *'. Putting both types into a union also fixes this nasty compiler warning about cast discarding 'const' from pointer target value. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@122 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Changed '#ifdef PTHREADS' into '#ifdef CCTK_PTHREADS'.tradke2001-04-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@121 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Fixed most of the compiler warnings.tradke2001-04-03
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@120 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Added -D_LIBC to the CFLAGS to avoid warnings when compiling base64.c.tradke2001-04-03
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@119 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* No longer abort run if there's an error in connect, just don't create a newgoodale2001-03-17
| | | | | | | | | | socket. This should hopefully solve the 'connection reset by peer' problem which we saw earlier. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@118 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Fixing a few warnings (lots left) and the FILE_VERSIONsallen2001-02-24
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@117 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Add in inclusion of util_Network.h for Util_GetHostName .goodale2001-01-19
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@116 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* GetHostName() went into the flesh.tradke2001-01-19
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@115 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Removing C++ comments.goodale2000-12-17
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@111 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* More prototypes to reduce number of warnings.goodale2000-12-15
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@109 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Removing C++ comment.goodale2000-12-15
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@108 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Adding missing header file.goodale2000-12-12
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@107 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Missed changing an int to a SOCKET a while back.goodale2000-12-12
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@106 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Fixed logicallen2000-12-07
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@105 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Including crypt.h to get prototype for crypt function.goodale2000-11-13
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@104 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Send size of buffer bigendian buffer of eight bytes rather than an int sogoodale2000-11-13
| | | | | | | | | | avoid problems with MPI maybe/maybenot doing typeconversion when running between machines with different MPI_INT types. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@103 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Missing headers.goodale2000-11-06
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@102 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Encodes images into hexidecimal so they can bejshalf2000-11-02
| | | | | | | embeded into C/C++ code. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@101 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Checking for HAVE_SOCKET_TYPE rather than SOCKET to decide if need to definegoodale2000-10-31
| | | | | | | | | | | | | | | | | own SOCKET macro. This is because the NT compiler at NCSA does typedef uint SOCKET; whereas the compiler on my NT where I tested stuff does #define SOCKET uint; so I was previously just checking #ifdef SOCKET. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@100 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Using a signal handler to ignore SIGPIPE as not all architecturesgoodale2000-10-31
| | | | | | | | | support the MSG_NOSIGNAL flag to send and recv. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@99 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* CCTK_INT -> int for T3Esallen2000-10-29
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@98 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Making sure http thread has finished before shutting down socket.goodale2000-10-25
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@97 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Putting a mutex on the steering as there is a potential race condition heregoodale2000-10-25
| | | | | | | | | | if the http thread steers a parameter at the same time as the main thread dispatches the queue. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@96 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Experimental support for threading. Now if you configure withgoodale2000-10-25
| | | | | | | | | | | | | | | | | | | | PTHREADS=yes and put httpd::use_pthreads = "yes" in your parameter file, the polling routine will run in its own thread. Be careful if you have any http routines which modify data read by non-http routines, as you run into a potential conflict. It seems to work, 'though I should probably put a mutex on the steering stuff in case the queue gets dispatched at the same time as someone is adding to it... Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@95 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Use gethostbyname if necessary and available to get fully qualified name of thegoodale2000-10-20
| | | | | | | | | host. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@94 1faa4e14-9dd3-4be0-9f0e-ffe519881164
* Added months, years and millenia to time to completion estimatesallen2000-10-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@93 1faa4e14-9dd3-4be0-9f0e-ffe519881164