Commits
- Commit:
40c79b49f28e72d6a20ff942e3e66b286268bc40
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gmid 1.8.6
- Commit:
af3a75b4d0291f7b154153de76a7855682692b95
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add tests and compat for setresuid and setresgid
backport of bd8683d0fd36893c18e7271faaa3b9ea67df0695
- Commit:
4fbd4dcc6ee14dc6b739f804cda650725b33c50a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
define GEMINI_SEARCH_STRING for CGI scripts too
it's redundant since gmid already fills the script argv with the words
extracted from the search string, but 2.0 won't have cgi support and not
all fastcgi <-> cgi wrappers follow RFC3875 § 4.4. This can help in
preparing scripts for a future when they'll be run under for e.g. slowcgi(8).
- Commit:
a057e3a49c3d893382b0a6e19348bec3d8a4f819
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add an implicit fastcgi parameter: GEMINI_SEARCH_STRING
backport of 97b306cbee6d105885a761e04274f661a0ec3757
it’s the QUERY_STRING decoded if it’s a search-string (i.e. not a
key-value pair.) It’s useful for scripts to avoid percent-decoding
the querystring in the most common case of a query, because in Gemini
querystrings key-value paired are not common.
Idea from a discussion with Allen Sobot.
- Commit:
fb6a629e6969c519b2523c343153f9b76e217843
- From:
- Omar Polo <op@omarpolo.com>
- Date:
correction: QUERY_STRING is *not* urldecoded.
backport of 77718c121f89b39bd0095f10e2dbd2ff9df65281
RFC3875 § 4.1.7 states that "the QUERY_STRING variable contains a
URL-encoded search or parameter string".
- Commit:
dfa8b23f08ecd8b884c33986577983d380a4622a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
return after FCGI_END_REQUEST
backport 17493a486c9e6325c3aae74920ddb10958ae2771
this fixes a possible crash if `client_write' closes the connection,
because client_close can end up freeing the fastcgi bufferevent while
we're looping.
We don't support fastcgi multiplexing, so once we get an END_REQUEST
there's nothing more to do.
Prodded into looking here after a bug report from Allen Sobot, thanks!
- Commit:
c197ad99a36ea820b528cb9fd10ff80f96674bb8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
when switching user also set the groups
backport of 872a717687a377cc02860e44c67dc1934ebfa9cb
- Commit:
52772181b5adf4709a8219ef283210564a184352
- From:
- Omar Polo <op@omarpolo.com>
- Date:
always cast is*() arguments to unsigned char
backport of 6130e0e and 06035a0
- Commit:
4107583e32017d94beda9de6f531ca82bb1e7ffe
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gmid 1.8.5
- Commit:
36213d73762cd55de81db53c63bb90a3e475d200
- From:
- Omar Polo <op@omarpolo.com>
- Date:
disable test_unknown_host temporarly
breaks on some distro and needs further investigations; it's not that
interesting fortunately.
- Commit:
2d7a479e73839eafe90cf619f6e70d1a6206c8cc
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add memmem compat
- Commit:
a9360663194daba62f2eba74e2adca346350f6bd
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rework `make dist'
- Commit:
ee32ee80db55c1a51855e9e81e5a06f772a71235
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove -v from gg
undocumented flag to dump to stdout the request before doing it. Not
useful, it's debugging leftover.
- Commit:
f25fa4a951951899d171e03274c6854fa318fca5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't count twice the failing tests on gmid crashes
- Commit:
339a27c63e865fc39e9fdd2816321ecd5f9e20be
- From:
- nytpu <alex@nytpu.com>
- Via:
- Omar Polo <op@omarpolo.com>
- Date:
always send custom list of fcgi parameters
The code in fcgi_req to send the custom params set in the config file was
placed inside the conditional for `tls_peer_cert_provided`, so the custom
parameters would not be sent if a client certificate is not provided.