Commits
- Commit:
cd18973c44cfe405e1f65682aa089d017cff04ac
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add has_suffix
- Commit:
5d43215b6f73e6a45da02d7868786eb84195163a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
redirect on directories without slash
- Commit:
5cbe17635e5b5884548a53bd3c09b401dbd15e51
- From:
- Omar Polo <op@omarpolo.com>
- Date:
skip "." (and ".." if in /)
- Commit:
0a33395dcffe4fea2971eecec30c3fceb2c8cce2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync
- Commit:
65124267f8546533ef276a4658f63d856332aa3e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
generate directory listings
- Commit:
f12795235b9f8bfe4bdde737426259ce46356932
- From:
- Omar Polo <op@omarpolo.com>
- Date:
group the protocols into the same section; mention about: and file://
- Commit:
85f3b093da452ee93055edb0241543021a861245
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync
- Commit:
0b1053d201cb8eb2b3dcc32f42f8f52188358884
- From:
- Omar Polo <op@omarpolo.com>
- Date:
handle file:// URIs
- Commit:
c7586aab80af8e3fd32ac08872c97f4e41484369
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add make_fs_request
- Commit:
fb4dc49f8a649b71bbfd87471b6bfbc4ab22f67e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
handle IMSG_GET_FILE: serve local files
IMSG_GET_FILE handles a path to a local file. fs now behaves like
net, it sends a IMSG_GOT_CODE/META and optionally the file.
This also includes a bit of refactoring: the send_file function was
extracted from handle_get so it can be used in handle_get_file too.
- Commit:
5077780dff5e4e199bfbd745f8775c3b7b7bde74
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add IMSG_GET_FILE imsg type
- Commit:
29c139d5fe24f2101aa9921e95d6381417dbd45d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
correctly serialize file: URIs
file URIs have the two slashes after the protocol even when the
hostname is not specified.
- Commit:
767da05cecb82ef3e8fe53a8bb977e4fd054a43b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix handling of query part in gopher URLs
The computed request was discarded because we passed `path' to
make_request. Passing NULL here makes the net proc use our computed
request string. There was an error in the computed request btw, where
\r\n were strcpy'd instead of cat'd.
- Commit:
6c739557ef552609512f2d7d7cf8ce42600b76d7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
[gopher] prevent crash on malformed item lines
initialize selector, address and port to "" to prevent a NUL
deferencing on emit_line
- Commit:
82ce21d0158711f26894b26653c3eeab65115c4c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
capitalize Engine for consistency