aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/c
Commit message (Collapse)AuthorAge
* Use our own memmem only when libc doesn’t have oneHEADmasterGravatar 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.
* Just return None rather than crashing, when trying to read cookies within ↵Gravatar Adam Chlipala2018-10-19
| | | | tasks (closes #143)
* Start using symbol versioningGravatar Benjamin Barenblat2018-06-17
| | | | | | We now have enough users to make ABI compatibility worthwhile. Designate the current ABI as version 1 and begin maintaining `-version-info` for libtool.
* 'filecache' .urp directive, fixing a longstanding MonoUtil bug in the processGravatar Adam Chlipala2018-06-03
|
* Remove insecure crypto function (closes #114)Gravatar Adam Chlipala2018-05-29
|
* Remove redundant -WimplicitGravatar Benjamin Barenblat2017-08-07
| | | | -Wall implies -Wimplicit.
* Enable -Wunused-parameterGravatar Benjamin Barenblat2017-08-07
|
* Make 'static' protocol commit transactions, to force rewriting of HTML ↵Gravatar Adam Chlipala2017-07-12
| | | | documents with JavaScript links, etc.
* Fixed non-working '-m' runtime option.Gravatar Vladimir Shabanov2017-06-15
|
* Raise an error if we run out of randomness during client initializationGravatar Adam Chlipala2017-05-14
|
* Option '-m' for HTTP-server binariesGravatar Adam Chlipala2017-03-17
|
* Merge pull request #60 from bbarenblat/masterGravatar Adam Chlipala2016-12-31
|\ | | | | FastCGI: Track request IDs during processing
* | remove unnecessary codeGravatar Marvin Sielenkemper2016-12-01
| |
* | pass the proper size to the bind callGravatar Marvin Sielenkemper2016-12-01
| |
* | zero initialize the socket address structureGravatar Marvin Sielenkemper2016-12-01
| |
* | use the ip4 socket address for ipv4 againGravatar Marvin Sielenkemper2016-11-30
| |
| * FastCGI: Track request IDs during processingGravatar Benjamin Barenblat2016-11-07
|/ | | | | | | | | | | | When processing a FastCGI request, save its request ID in thread-local storage and respond with the same request ID (rather than hard-coding 1). This fixes FastCGI on picky web servers (nginx). For more background, see https://github.com/urweb/urweb/issues/57 and §3.3 of the FastCGI specification. Tested with nginx 1.10.2 and lighttpd 1.4.39. Closes https://github.com/urweb/urweb/issues/57.
* Updates the help text to cover the new ipv6 optionGravatar Marvin Sielenkemper2016-09-22
|
* Remove accidentally commited unused includes which do not exist on MacOSGravatar Marvin Sielenkemper2016-09-17
|
* Explicitly cleares IPV6_V6ONLY to ensure IPv4 availabilityGravatar Marvin Sielenkemper2016-09-17
|
* Add IPv6 support and a new '-A' option to specify an IPv6 adress to bindGravatar Marvin Sielenkemper2016-09-16
|
* Export fewer symbolsGravatar Benjamin Barenblat2016-08-05
| | | | Closes https://github.com/urweb/urweb/issues/43.
* Support OpenSSL 1.1Gravatar Benjamin Barenblat2016-07-20
| | | | Closes https://github.com/urweb/urweb/issues/35.
* uw_memmem: correct indentationGravatar Benjamin Barenblat2016-07-20
| | | | Closes https://github.com/urweb/urweb/issues/36.
* Prepare Postgres code for NULL error fieldsGravatar Adam Chlipala2016-06-17
|
* Rename memmem() to urweb_memmem(), to avoid unintentionally picking up ↵Gravatar Adam Chlipala2016-06-15
| | | | prototype from libc
* Elaborate C expression to appease recent compilersGravatar Adam Chlipala2016-06-10
|
* Silence gcc warningsGravatar Alexander2016-05-26
| | | "warning: 'entry' may be used uninitialized in this function"
* abs and floor addedGravatar Karen Sargsyan2016-05-23
|
* asin, acos, atan, atan2 addedGravatar Karen Sargsyan2016-05-22
|
* Some basic math functions: pow, sqrt, sin, cos, log, exp are added to work ↵Gravatar Karen Sargsyan2016-05-21
| | | | at client and server sides
* Support for <meta> tagsGravatar Adam Chlipala2016-05-15
|
* Fix preservation of headers when returning blobsGravatar Adam Chlipala2016-04-15
|
* At runtime, catch when we exceed 'limit inputs'Gravatar Adam Chlipala2016-03-30
|
* Sqlcache: also record script additions; do a MonoReduce afterward, to help ↵Gravatar Adam Chlipala2016-03-12
| | | | Prepare do a better job
* Make JavaScript escaping handle ampersands properlyGravatar Adam Chlipala2016-02-23
|
* Fix handling of returnBlob headers for FastCGI, etc.Gravatar Adam Chlipala2016-02-14
|
* Add a cast to thread_id(), to support more platformsGravatar Adam Chlipala2016-02-13
|
* Remove duplicate typedef declarations.Gravatar Ziv Scully2015-12-30
|
* Merge SqlcacheGravatar Adam Chlipala2015-12-20
|\
| * Add read locks around time read in store.Gravatar Ziv Scully2015-11-20
| |
| * Tiny concurrency bugfix (race condition on cache->timeNow).Gravatar Ziv Scully2015-11-20
| |
| * Fix condition for installing new cache entriesGravatar Adam Chlipala2015-11-19
| |
| * Fix a read-after-free bug using a timestamp checkGravatar Adam Chlipala2015-11-19
| |
| * Fix a few C memory bugsGravatar Adam Chlipala2015-11-19
| |
| * Make cache flushes happen immediately instead of at end of transaction.Gravatar Ziv Scully2015-11-17
| |
| * Finish locking, but it's not yet tested rigorously.Gravatar Ziv Scully2015-11-13
| |
| * Remove debugging print statement.Gravatar Ziv Scully2015-11-13
| |
| * Fix issue with one-element caches. Locking still WIP.Gravatar Ziv Scully2015-11-13
| |
| * Fix committing multiple stores/flushes. Locking is WIP.Gravatar Ziv Scully2015-11-12
| |