summaryrefslogtreecommitdiff
path: root/src/c/request.c
Commit message (Collapse)AuthorAge
* Use our own memmem only when libc doesn’t have oneGravatar Benjamin Barenblat2018-11-07
| | | | | | | | | | | | | | | | Systems without memmem(3) are getting rarer every day. We can improve clarity and efficiency by relying on libc’s memmem whenever possible. Detect at compile time whether the system supports memmem(3); if it does, simply reexport its prototype through memmem.h and emit no code. If it doesn’t, actually build in the memmem code in memmem.c. Along the way, undo the renaming from commit 6dad7c645d8fdb7b7237c89ff7b34e90adbb86b1. Since we’re only creating a memmem prototype if libc doesn’t define the symbol, our prototype should never clash with libc’s. As before, authors should not assume string.h provides a prototype for memmem; they should `#include "memmem.h"` if they use the function.
* Enable -Wunused-parameterGravatar Benjamin Barenblat2017-08-07
|
* Rename memmem() to urweb_memmem(), to avoid unintentionally picking up ↵Gravatar Adam Chlipala2016-06-15
| | | | prototype from libc
* At runtime, catch when we exceed 'limit inputs'Gravatar Adam Chlipala2016-03-30
|
* Check realloc's return code to prevent segfault on out of memory condition ↵Gravatar Sergey Mironov2014-08-24
| | | | (Part 2)
* Check realloc's return code to prevent segfault on out of memoty conditionGravatar Sergey Mironov2014-08-23
|
* Call try_rollback before resetting the contextGravatar Sergey Mironov2014-06-15
| | | | This will allow FFI cleanup handlers to complete.
* Align to sizeof(void *) instead of fixed 4Gravatar Adam Chlipala2014-05-28
|
* Define uw_loggers structure, allow FFI code to access itGravatar Sergey Mironov2014-02-26
|
* Proper handling of serialization failures during SQL COMMITGravatar Adam Chlipala2013-12-23
|
* Change Pthread thread creation logic to avoid Cygwin limitations with ↵Gravatar Adam Chlipala2013-10-14
| | | | setting stack size
* Get regular forms working againGravatar Adam Chlipala2012-07-21
|
* Top.postFieldsGravatar Adam Chlipala2012-07-21
|
* Avoid redundant rollbacksGravatar Adam Chlipala2012-06-02
|
* Introduce URWEB_STACK_SIZE environment variable (based on a patch by Hao Deng)Gravatar Adam Chlipala2011-08-02
|
* Each context gets its own non-repeating sequence of source numbersGravatar Adam Chlipala2011-04-09
|
* Exit periodic loop if a ROLLBACK fails, to avoid infinite looping when the ↵Gravatar Adam Chlipala2011-03-18
| | | | database server is brought down
* Proper error handling for periodic tasksGravatar Adam Chlipala2011-01-23
|
* Fix detection of POSTs to error pagesGravatar Adam Chlipala2011-01-23
|
* Only announce URI serving in standalone HTTP server (grandfathered into ↵Gravatar Adam Chlipala2011-01-23
| | | | release!)
* Basis.currentUrlHasPostGravatar Adam Chlipala2011-01-06
|
* Remove unnecessary #include (patch from Karn Kallio)Gravatar Adam Chlipala2011-01-03
|
* Fix time comparison operators; safer saving of queryStringsGravatar Adam Chlipala2010-12-27
|
* queryString and effectfulUrlGravatar Adam Chlipala2010-12-26
|
* Periodic tasksGravatar Adam Chlipala2010-12-18
|
* postBody typeGravatar Adam Chlipala2010-12-18
|
* Change Basis.debug to use the protocol's debug functionGravatar Adam Chlipala2010-12-12
|
* New argument to transactional free functions, to specify whether we are ↵Gravatar Adam Chlipala2010-12-04
| | | | about to retry
* In FastCGI, signal 304 with a header, not the usual HTTP/1.1 lineGravatar Adam Chlipala2010-11-20
|
* -limit for running timeGravatar Adam Chlipala2010-10-14
|
* Server-side 'onError'Gravatar Adam Chlipala2010-09-07
|
* Include new config.h in C source filesGravatar Adam Chlipala2010-05-30
|
* Normalize URLs to deal with page names that contain apostrophesGravatar Adam Chlipala2010-02-25
|
* Prototype memmem()Gravatar Adam Chlipala2010-02-06
|
* AC_USE_SYSTEM_EXTENSIONS replaces the need for hacky #defines at starts of C ↵Gravatar Adam Chlipala2010-02-06
| | | | files
* Switch to gcc -WallGravatar Adam Chlipala2010-01-28
|
* Handling errors during commitGravatar Adam Chlipala2010-01-26
|
* Database quotasGravatar Adam Chlipala2010-01-03
|
* Basis.serialize; separate file for mhash; run transactional finishers in ↵Gravatar Adam Chlipala2009-12-31
| | | | reverse order; set needs_sig properly
* All three current protocols work with move to using uw_appGravatar Adam Chlipala2009-12-27
|
* Basis.currentUrl, plus redirect debuggingGravatar Adam Chlipala2009-12-10
|
* Basis.url and redirectsGravatar Adam Chlipala2009-12-10
|
* Send RPCs with POST, to avoid cachingGravatar Adam Chlipala2009-11-21
|
* FastCGI working with lighttpdGravatar Adam Chlipala2009-06-27
|
* .msgs processing in FastCGIGravatar Adam Chlipala2009-06-27
|
* cgi protocolGravatar Adam Chlipala2009-06-23
|
* Further refactoring of request.c to work with CGIGravatar Adam Chlipala2009-06-23
|
* Factor out common request functionality, in preparation for supporting ↵Gravatar Adam Chlipala2009-06-23
different protocols