Commits
- Commit:
e2003e7e305adabd1ee575e401a55e6d7e050297
- From:
- Omar Polo <op@omarpolo.com>
- Date:
simplify request handling
get rid of check_path(), it's overly complicated. Instead, inline
open_file() in client_read() and rework open_dir() to just use
openat() instead of the complicate dance it was doing.
Simplify open_dir() too in the process: if the directory entry for the
index is not a regular file, pretend it doesn't exist.
- Commit:
2339a71178cc4a29dd2eada458c84b6092b056ce
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use a function-local buffer for the canonical redirect
- Commit:
fef06f06ac4779731bb8e293248eae1883a7ed1b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove the fcgi debug code
- Commit:
911156fb95c43b9aa3c4cec8f9e40317ae7e0807
- From:
- Omar Polo <op@omarpolo.com>
- Date:
make `listen on' defaults on port 1965
- Commit:
c9e878d6a40f4b509bb8928e4736a63f8b7723a2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use snprintf() instead of chain of strlcpy/cat
- Commit:
ed164e7221f75d3d7f48351e9427f2ce53ab284a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
call getnameinfo() only once per request
- Commit:
da0821b6cb54a85bcbe76cdf0a9a16f8f1a14619
- From:
- Omar Polo <op@omarpolo.com>
- Date:
avoid gratious strlen; evbuffer_readln returns the length
- Commit:
a452496a965aa429f72d76e0929a832118c12ffa
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rework check
- Commit:
287ab86538ac30413fdbae20234b470b93954386
- From:
- Omar Polo <op@omarpolo.com>
- Date:
default chroot to user' home if unset
- Commit:
0fc92ad2fdb7ab7d0165812539e47a8ad2a4c3ba
- From:
- Omar Polo <op@omarpolo.com>
- Date:
update changelog
- Commit:
841633cfeca9acf9a691f16760c2d7c06202664f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
plug memory leak in client_close_ev
- Commit:
ddf7a437de12fab9e000e5b555fdbf1891632dad
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix client_close_ev when tls_close() returns TLS_WANT_POLLIN/OUT
in those cases we need to reschedule the function and return, instead
of going on with the cleanup.
- Commit:
c5edb157405883dc7c869beb2c1e05cefe325fdf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
properly handle handshake failures
If a TLS handshake fails there's nothing we can do, so don't attempt
to reply an error (the connected client is not speaking Gemini as
it's not using TLS at all) and instead just close the connection.
Fixes issue #13
- Commit:
53bdae38fe6062469d8b444d5e6bd99ff34ca94b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
update changelog
- Commit:
23f0ac49ed05351aa957837a879af3b1c8491267
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix previous