aboutsummaryrefslogtreecommitdiffstats
path: root/src/event/FullyBufferedSocket.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-01-01Copyright year 2015Max Kellermann1-1/+1
2014-01-13copyright year 2014Max Kellermann1-1/+1
2013-12-19util/PeakBuffer: use IsEmpty() instead of IsNull()Max Kellermann1-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.
2013-12-15util/PeakBuffer: use DynamicFifoBuffer instead of struct fifo_bufferMax Kellermann1-1/+0
Switch to the C++ version.
2013-12-15util/PeakBuffer: return ConstBuffer<void>Max Kellermann1-4/+3
2013-11-28include cleanup using iwyuMax Kellermann1-0/+1
2013-11-06event/FullyBufferedSocket: remove obsolete TODO commentMax Kellermann1-16/+0
We have a better solution now.
2013-11-06event/FullyBufferedSocket: try to write without extra roundtripMax Kellermann1-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.
2013-11-06event/FullyBufferedSocket: make WriteFromBuffer() protectedMax Kellermann1-2/+2
.. and rename it to Flush().
2013-09-04util/Error: new error passing libraryMax Kellermann1-2/+6
Replaces GLib's GError.
2013-08-07Makefile.am: move sources to libsystem.aMax Kellermann1-1/+1
2013-01-30event/BufferedSocket: move output buffer to FullyBufferedSocketMax Kellermann1-122/+14
BufferedSocket has just an input buffer, and FullyBufferedSocket adds the output buffer.
2013-01-30event/SocketMonitor: OnSocketReady() returns boolMax Kellermann1-4/+6
2013-01-30event/SocketMonitor: add methods Read(), Write()Max Kellermann1-21/+3
2013-01-15event/SocketMonitor: wrapper class for GSource + GPollFDMax Kellermann1-0/+256