- 23 Oct, 2012 2 commits
-
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
- 14 Aug, 2012 13 commits
-
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
Like f8debbfd.
-
Pieter Noordhuis authored
Like 56ae8aa1.
-
- 09 Jun, 2012 1 commit
-
-
Pieter Noordhuis authored
-
- 08 Jun, 2012 4 commits
-
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
- 06 Mar, 2012 10 commits
-
-
Pieter Noordhuis authored
This allows to drop the requirement that the request itself is responsible for keeping track of the number of bytes it has emitted via `write_ptr` and the number of bytes that were actually written in `write_cb`. The request queue now lets the request know how many bytes have been written on its account, instead of asking for it.
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
The change in d0eb3f65 moved responsibility to the request itself, but kept ownership of the parser struct with the request queue. In retrospect, it is cleaner to keep protocol parsing in the queue and have it pass the parsed protocol via the read callback.
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
- 20 Jan, 2012 1 commit
-
-
Pieter Noordhuis authored
-
- 10 Jan, 2012 7 commits
-
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
Every request is now kept in a maximum of two queues. When a request is initially inserted, it is inserted in the `to_write` queue. When at least one write buffer is extracted from that request, it is *moved* to the `wait_write` queue. When at least one byte of the request has been written to the socket, it is *also* placed in the `wait_read` queue. This means that it is possible for a request to be emitting write buffers, while simultaneously receiving read callbacks.
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
- 09 Jan, 2012 1 commit
-
-
Pieter Noordhuis authored
-
- 07 Jan, 2012 1 commit
-
-
Pieter Noordhuis authored
-