aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-08-16syncHEADmasterReyk Floeter
2016-08-15syncReyk Floeter
2016-08-15sync testsReyk Floeter
2015-08-21syncReyk Floeter
2015-08-21Add MOVE methodJamin Hitchcock
2015-08-20sync CVS commitid: WDQybNKi4LiEFw8K:Reyk Floeter
Change httpd(8) to use C99-style fixed-width integers (uintN_t instead of u_intN_t) and replace u_int with unsigned int. Mixing both variants is a bad style and most contributors seem to prefer this style; it also helps us to get used to it, portability, and standardization. Theoretically no binary change, except one in practice: httpd.o has a different checksum because gcc with -O2 pads/optimizes "struct privsep" differently when using "unsigned int" instead "u_int" for the affected members. "u_int" is just a typedef of "unsigned int", -O0 doesn't build the difference and clang with -O2 doesn't do it either - it is just another curiosity from gcc-land. OK semarie@
2015-08-18syncReyk Floeter
2015-08-03Merge branch 'lpereira-str-find-aux-neg'Reyk Floeter
2015-08-03Merge branch 'str-find-aux-neg' of ssh://github.com/lpereira/httpd into ↵Reyk Floeter
lpereira-str-find-aux-neg
2015-08-03syncOPENBSD_5_8_BASEopenbsd/5.8Reyk Floeter
2015-08-03syncReyk Floeter
2015-07-26str_find_aux() might return a negative numberLeandro Pereira
It might return the return value of match_error(), which returns (-1).
2015-07-18syncReyk Floeter
2015-07-18sync; add HSTS and default typeReyk Floeter
2015-07-17Adjust server_file_modified_since() to our style. Please keep httpd clean.Reyk Floeter
2015-07-17syncReyk Floeter
2015-07-17spacingReyk Floeter
2015-07-17Merge branch 'hrkfdn-master'Reyk Floeter
2015-07-17Add clarification, RFC 3875Reyk Floeter
2015-07-17Merge branch 'master' of git://github.com/hrkfdn/httpd into hrkfdn-masterReyk Floeter
2015-07-17Add tests subdirReyk Floeter
2015-07-16Add regress testsReyk Floeter
2015-07-16sync patterns regressReyk Floeter
2015-07-16sync with -current during c2k15Reyk Floeter
2015-06-23Add license note about patterns.cReyk Floeter
2015-06-23sync regress with -currentReyk Floeter
2015-06-23sync with -currentReyk Floeter
2015-06-23Merge branch 'patterns'Reyk Floeter
2015-06-23Use strndup instead of calloc + memcpy.Reyk Floeter
From Leandro Pereira (@lafp on twitter)
2015-06-23Merge branch 'experiment-2' into patternsReyk Floeter
2015-06-23add a new control for repetitor itemsSébastien Marie
- add a counter for limiting the search for repetitor items ('*', '+', '-' and '?') - add test case for this new kind of error
2015-06-23Merge commit 'cb9aff69125a32fd4327cce7079eb18273356d92' into patternsReyk Floeter
2015-06-23add '+' to limited matchdepthSébastien Marie
- revert "normal" call to optimized-tail-call-recursion for '*', '?' and '-' - add a "pattern too complex" test to !singlematch() branch, so that it is limited on call numbers.
2015-06-23Add tests with lua53 for comparisonReyk Floeter
2015-06-22don't do tail-call-recursive every timeSébastien Marie
- switch '*', '?' and '-' to normal call, in order to pass into "too complex" check - remove assert() - on error, quit early
2015-06-22Merge branch 'semarie-patterns' into patternsReyk Floeter
2015-06-22Merge branch 'patterns' of github.com:/semarie/httpd into semarie-patternsReyk Floeter
2015-06-22Merge branch 'master' into patternsReyk Floeter
2015-06-22sync with -current:Reyk Floeter
After the last change, we also have to url_encode $SERVER_NAME and $REMOTE_USER before using them in the Location. From Sebastien Marie (semarie)
2015-06-22add regress testsuite for patternsSébastien Marie
2015-06-22several cosmetics fixes + add a new error checkingSébastien Marie
- there is no need to escape "%" with "%%" in error message - corrects a comment - add a check for error
2015-06-21Merge branch 'master' into patternsReyk Floeter
2015-06-21sync with -currentReyk Floeter
2015-06-21Merge commit '2c93f9b5dc502e6bc4b7050a5676dc5d8e16f8f2'Reyk Floeter
2015-06-21Also encode the query.Reyk Floeter
Discussed with Sebastien Marie
2015-06-21Merge branch 'semarie-patterns'Reyk Floeter
2015-06-21propagate error from classend()Sébastien Marie
an error could be setted in classend(). check and propagate it if any.
2015-06-20Changing luaL_error() calls to match_error() required slightlyReyk Floeter
different semantics as we cannot just abort as Lua does. So we have to check return values carefully and I missed a few in the transition. Patch by Sebastien Marie
2015-06-20capture_to_close() wasn't checked (it returns -1 on error) and causedReyk Floeter
a panic when using a ")(" pattern. Found by Sebastien Marie
2015-06-20Experimental support for rewrites using Lua's lean pattern matching ↵Reyk Floeter
implementation.