- 10 Jan, 2012 6 commits
-
-
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 5 commits
-
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
The request queue abstraction intends to provide an interface usable by asynchronous I/O libraries, without making assumptions about their interfaces.
-
- 06 Jan, 2012 1 commit
-
-
Pieter Noordhuis authored
-
- 05 Jan, 2012 11 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
-
- 04 Jan, 2012 12 commits
-
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
It is opaque to the caller which address the handle connects to when the host is resolved by getaddrinfo. Now, it returns a redis_address type that encapsulates multiple sockaddr_* structs (sockaddr_storage would be appropriate here, but it appears not to be portable).
-
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
This makes sure that tests are declared static, so the compiler complains when they are not used. Declaring static is easy to forget, and we want to make sure all tests are run!
-
Pieter Noordhuis authored
-
- 10 Oct, 2011 1 commit
-
-
Pieter Noordhuis authored
-
- 01 Oct, 2011 1 commit
-
-
Pieter Noordhuis authored
-
- 30 Sep, 2011 2 commits
-
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-