Commits
- Commit:
1deaf3979efdb3e27a57aeb2d7c93c0b7550639d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
set the off to zero after flushing the buffer
this was the cause we had duplicated "chunks" in the pages: if we
enter copy_body with req->off != 0 but then tls_read returns
WANT_POLLIN/POLLOUT, the next time we flush the same chunk again.
- Commit:
e430495420ca83b7c02175962e6e7fc38f028856
- From:
- Omar Polo <op@omarpolo.com>
- Date:
style
- Commit:
65d9b3ca4af593a5d167621ecf713fcf1974b197
- From:
- Omar Polo <op@omarpolo.com>
- Date:
refactoring + move wrapping logic to its own file
- Commit:
72a79cfb304402954d7a7b2d6d173a5906140d1d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't drop the start of the document
The first tls_read may and up reading more than the response line, but
we were using another buffer in copy_body so we loose up to the first
1K of every document.
- Commit:
ebdcadbfd9e4dd7f06b975b326745e5849f9ee70
- From:
- Omar Polo <op@omarpolo.com>
- Date:
plug the sandbox
- Commit:
15354eed0814392f42d04f3b6aeb71df253b1d66
- From:
- Omar Polo <op@omarpolo.com>
- Date:
allow IMSG_STOP of not-existent requests
It's easier to allow the stopping of not-existent requests rather than
track which tabs have still ongoing connections and what not and
handle this bit of logic in the UI.
- Commit:
71a2feab64c718e24fd610ee8c95a57f6da13b8c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
early add requests to the queue
close_with_err does a close_conn which in turns drops req from the
queue. Thus it crashes on error, avoid that.
- Commit:
723bee54d360957eec85ac2eef9ebd5516db3ade
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add timeout for connection and some s/die/_exit
Crashing is some situation is not a good idea. If the other process
is dead, it has probably already crashed, so crashing again would
overwrite the core file, and in every case it doesn't tell us much.
It's more interesting to see why the first process crashed in the
first place.
- Commit:
0972d8b2a08f2c28e86b3cc310f9eac1be74766d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move special page to main process
- Commit:
5e11c00c40910bea9deb4b2199868f6dde63798e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
initial commit