Commits
- Commit:
0e8f22ed5bac3d23402a29c24f7dee6cd75add5b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
send received page in chunks
imsg can't handle buffer "too big" (around INT16_MAX) and solene@
capsule index is ~29K. The 4K chunk size is completely arbitrary.
- Commit:
95a8c791ec85e7b79a1975e82a22f7c07dbb9107
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fmt (some missing space -> tab conversion)
- Commit:
b5c5e56dce958046e26bea8b2449c806e9cdd642
- From:
- Omar Polo <op@omarpolo.com>
- Date:
wrap unfreeze in ifdef
instead of defining macros in compat.h. It's clearer that it's only
for libevent2 this way
- Commit:
73bb7969cfc48e90a10200bd6b1c8c1ed9aff4f2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
unfrozen by default
it seems that we can "melt" :P the evbuffer from the start to avoid
the unfreeze/freeze dance
- Commit:
4c7d2b8fffba7a465cba957f823bc24d1d64cc04
- From:
- Omar Polo <op@omarpolo.com>
- Date:
buffer is frozen; drain becomes a NOP
- Commit:
1470eab31452d2fab50bc4965320dab7892b2ef3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix bufferevent tls I/O on libevent2
on libevent2 we need to wrap evbuffer_add with
evbuffer_freeze/evbuffer_unfreeze. Not sure exactly why, probably
because we're doing some evbuffer_enable/disable/enable-again.
Retain compatibility with the custom libevent1 in base on OpenBSD.
- Commit:
590c00b776ba5daed0a5dcb4b65f0d2faefac615
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drain read buffer before EOF
- Commit:
1663bf1e97e8a9f54bb78bfe8853f81c8e99e6db
- From:
- Omar Polo <op@omarpolo.com>
- Date:
initial gopher support
- Commit:
5fb52fc04465f7828ef88810d153e77c705efa57
- From:
- Omar Polo <op@omarpolo.com>
- Date:
support finger:// urls!
- Commit:
69f631d93578026c42de78c0165983c036f7b135
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix possible overflow
sizeof(buf) should be equal to howmuch, otherwise we may end up reading
with tls_read out of bounds and corrupting the stack.
- Commit:
edfe87bea0c396c48cb8344f02dcce6e3880711f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move struct req declaration up
avoid a dummy `struct req;'
- Commit:
77ae5e91860b3ea55ee275089622584597f3062b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
re-align declarations
- Commit:
e2a349f79360cc6441c367ccf4fb139535f61c58
- From:
- Omar Polo <op@omarpolo.com>
- Date:
reorder
- Commit:
318a6c1a4be3e07520b2a6640a095272397819f8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop req_by_id_req, allow req_by_id to return NULL
- Commit:
0d40acb17f9926cbf33284d1a0129a9d1984ac33
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop setup_tls