aboutsummaryrefslogtreecommitdiffstats
path: root/src/event/FullyBufferedSocket.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* system/{Resolver,Socket{Error,Util}}: move to new library libnet.aMax Kellermann2015-02-101-1/+1
|
* Copyright year 2015Max Kellermann2015-01-011-1/+1
|
* copyright year 2014Max Kellermann2014-01-131-1/+1
|
* util/PeakBuffer: use IsEmpty() instead of IsNull()Max Kellermann2013-12-191-1/+1
| | | | | | The DynamicFifoBuffer methods never return nullptr when the buffer is empty or full; instead, they return an empty buffer. This bug caused an endless loop.
* util/PeakBuffer: use DynamicFifoBuffer instead of struct fifo_bufferMax Kellermann2013-12-151-1/+0
| | | | Switch to the C++ version.
* util/PeakBuffer: return ConstBuffer<void>Max Kellermann2013-12-151-4/+3
|
* include cleanup using iwyuMax Kellermann2013-11-281-0/+1
|
* event/FullyBufferedSocket: remove obsolete TODO commentMax Kellermann2013-11-061-16/+0
| | | | We have a better solution now.
* event/FullyBufferedSocket: try to write without extra roundtripMax Kellermann2013-11-061-14/+24
| | | | | | Postpone the write using IdleMonitor instead of scheduling a write event. This reduces the number of system calls, because we don't need to register and unregister the write event in epoll.
* event/FullyBufferedSocket: make WriteFromBuffer() protectedMax Kellermann2013-11-061-2/+2
| | | | .. and rename it to Flush().
* util/Error: new error passing libraryMax Kellermann2013-09-041-2/+6
| | | | Replaces GLib's GError.
* Makefile.am: move sources to libsystem.aMax Kellermann2013-08-071-1/+1
|
* event/BufferedSocket: move output buffer to FullyBufferedSocketMax Kellermann2013-01-301-0/+132
BufferedSocket has just an input buffer, and FullyBufferedSocket adds the output buffer.