Searched +hist:4 +hist:b55736d (Results 1 - 3 of 3) sorted by relevance

/haiku/headers/private/net/
H A DProtocolUtilities.hdiff 4e78098e Fri May 03 13:03:54 MDT 2013 Axel Dörfler <axeld@pinc-software.de> DatagramSocket: don't use absolute timeout 0.

* Use relative instead, or else the return value will be B_TIMED_OUT instead
of B_WOULD_BLOCK.
* This fixes bug #9734.
diff 4b55736d Fri Apr 27 01:09:46 MDT 2007 Hugo Santos <hugosantos@nowhere.fake> added new helper ProtocolSocket. Moved some stuff together to achieve better inlining.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20848 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 4b55736d Fri Apr 27 01:09:46 MDT 2007 Hugo Santos <hugosantos@nowhere.fake> added new helper ProtocolSocket. Moved some stuff together to achieve better inlining.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20848 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 4e78098e7c4508d8e72d02807a12f88ba74c3c85 Fri May 03 13:03:54 MDT 2013 Axel Dörfler <axeld@pinc-software.de> DatagramSocket: don't use absolute timeout 0.

* Use relative instead, or else the return value will be B_TIMED_OUT instead
of B_WOULD_BLOCK.
* This fixes bug #9734.
diff 4b55736dde3c03e6732d2d550b53218b35c37e21 Fri Apr 27 01:09:46 MDT 2007 Hugo Santos <hugosantos@nowhere.fake> added new helper ProtocolSocket. Moved some stuff together to achieve better inlining.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20848 a95241bf-73f2-0310-859d-f6bbb57e9c96
/haiku/src/add-ons/kernel/network/protocols/tcp/
H A DTCPEndpoint.hdiff 4fec8175 Mon Jan 29 19:48:26 MST 2024 Augustin Cavalier <waddlesplash@gmail.com> TCP: Refactor sending logic.

* Break segment setup out into its own method.

* Break the actual sending logic out into its own method.
- While at it, remove some old/obsolete comments and
rearrange some of the logic to match.

* Separate the send-pure-ACK and send-data methods.
- This way, the "force" parameters will act differently,
specifying "force" to SendAcknowledge() may generate
a duplicate ACK, while to SendQueued() it will either
send data smaller than a segment size, or do nothing.

Functional changes should be minor, and the code
meanwhile should be much easier to read.

Change-Id: I1e14b9a1e3b7c8b2d3bf8ae30f1369d8c9f662a4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7361
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
diff 4b55736d Fri Apr 27 01:09:46 MDT 2007 Hugo Santos <hugosantos@nowhere.fake> added new helper ProtocolSocket. Moved some stuff together to achieve better inlining.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20848 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 4b55736d Fri Apr 27 01:09:46 MDT 2007 Hugo Santos <hugosantos@nowhere.fake> added new helper ProtocolSocket. Moved some stuff together to achieve better inlining.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20848 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 4ee08841 Mon Apr 16 12:32:49 MDT 2007 Hugo Santos <hugosantos@nowhere.fake> assorted TCP fixes.

- fixed the locking for spawned connections and accept()s.
- return EMSGSIZE if the user is trying to write more data than the send buffer can hold.
- fixed a crash when receiving a RST while the connection is being closed.
- don't wake up readers when the connection gets established.
- endpoint managers lock must be recursive to properly work with spawn'ed sockets.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20727 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 4b55736dde3c03e6732d2d550b53218b35c37e21 Fri Apr 27 01:09:46 MDT 2007 Hugo Santos <hugosantos@nowhere.fake> added new helper ProtocolSocket. Moved some stuff together to achieve better inlining.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20848 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 4ee088419f8fdc733b6cb0606e2556b176316788 Mon Apr 16 12:32:49 MDT 2007 Hugo Santos <hugosantos@nowhere.fake> assorted TCP fixes.

- fixed the locking for spawned connections and accept()s.
- return EMSGSIZE if the user is trying to write more data than the send buffer can hold.
- fixed a crash when receiving a RST while the connection is being closed.
- don't wake up readers when the connection gets established.
- endpoint managers lock must be recursive to properly work with spawn'ed sockets.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20727 a95241bf-73f2-0310-859d-f6bbb57e9c96
H A DTCPEndpoint.cppdiff 4fec8175 Mon Jan 29 19:48:26 MST 2024 Augustin Cavalier <waddlesplash@gmail.com> TCP: Refactor sending logic.

* Break segment setup out into its own method.

* Break the actual sending logic out into its own method.
- While at it, remove some old/obsolete comments and
rearrange some of the logic to match.

* Separate the send-pure-ACK and send-data methods.
- This way, the "force" parameters will act differently,
specifying "force" to SendAcknowledge() may generate
a duplicate ACK, while to SendQueued() it will either
send data smaller than a segment size, or do nothing.

Functional changes should be minor, and the code
meanwhile should be much easier to read.

Change-Id: I1e14b9a1e3b7c8b2d3bf8ae30f1369d8c9f662a4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7361
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
diff 4b2d018b Wed Jun 10 09:37:47 MDT 2015 Adrien Destugues <pulkomandy@gmail.com> Implement MSG_NOSIGNAL

* Part of latest POSIX specification, this prevents send() on a closed
socket to raise a SIGPIPE signal (but EPIPE is returned).
diff 4b55736d Fri Apr 27 01:09:46 MDT 2007 Hugo Santos <hugosantos@nowhere.fake> added new helper ProtocolSocket. Moved some stuff together to achieve better inlining.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20848 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 4b55736d Fri Apr 27 01:09:46 MDT 2007 Hugo Santos <hugosantos@nowhere.fake> added new helper ProtocolSocket. Moved some stuff together to achieve better inlining.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20848 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 4ee08841 Mon Apr 16 12:32:49 MDT 2007 Hugo Santos <hugosantos@nowhere.fake> assorted TCP fixes.

- fixed the locking for spawned connections and accept()s.
- return EMSGSIZE if the user is trying to write more data than the send buffer can hold.
- fixed a crash when receiving a RST while the connection is being closed.
- don't wake up readers when the connection gets established.
- endpoint managers lock must be recursive to properly work with spawn'ed sockets.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20727 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 4b2d018be4c848b0cfb8d401185fa998ab6cfd90 Wed Jun 10 09:37:47 MDT 2015 Adrien Destugues <pulkomandy@gmail.com> Implement MSG_NOSIGNAL

* Part of latest POSIX specification, this prevents send() on a closed
socket to raise a SIGPIPE signal (but EPIPE is returned).
diff 4b55736dde3c03e6732d2d550b53218b35c37e21 Fri Apr 27 01:09:46 MDT 2007 Hugo Santos <hugosantos@nowhere.fake> added new helper ProtocolSocket. Moved some stuff together to achieve better inlining.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20848 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 4ee088419f8fdc733b6cb0606e2556b176316788 Mon Apr 16 12:32:49 MDT 2007 Hugo Santos <hugosantos@nowhere.fake> assorted TCP fixes.

- fixed the locking for spawned connections and accept()s.
- return EMSGSIZE if the user is trying to write more data than the send buffer can hold.
- fixed a crash when receiving a RST while the connection is being closed.
- don't wake up readers when the connection gets established.
- endpoint managers lock must be recursive to properly work with spawn'ed sockets.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20727 a95241bf-73f2-0310-859d-f6bbb57e9c96

Completed in 206 milliseconds