Roland Kuhn
cdf717e855
Merge pull request #1321 from spray/wip-IO-WriteFile-rebased
...
Tcp: introduce WriteFile to support zero-copy writing of files, fixes #2896
2013-04-17 04:39:41 -07:00
Roland
6a4be23d58
include bound localAddress in Bound message, see #3230
...
- done for Tcp & Udp in the same way
- also try to fix TcpConnectionSpec on my Mac
2013-04-15 11:58:50 +02:00
Johannes Rudolph
c5d90a1c57
Tcp: cosmetic changes and more checks
...
* whitespace
* Write.Empty => Write.empty
* check requirements
* better 0-checks
2013-04-10 14:56:51 +02:00
Johannes Rudolph
15545641a6
Tcp: introduce WriteFile to support zero-copy writing of files (using FileChannel.transferTo), fixes #2896
2013-04-09 14:33:10 +02:00
Johannes Rudolph
e532a77824
Tcp: hide support for half-closed connections behind Register.keepOpenOnPeerClosed
2013-04-09 11:24:55 +02:00
Johannes Rudolph
1b95f65cf4
io: handle half-closed connection when peer closed first
...
This allows to send data back to the peer even if the peer already has sent
EOF/FIN as specified for TCP. To fully close a connection, the handler has
to close its side of the connection now actively once it is finished with
writing even if it received a `PeerClosed` message before.
2013-04-09 11:24:55 +02:00
Roland Kuhn
7a8dbda95d
Merge pull request #1294 from spray/tcp-connection-immediate-Received-message
...
TcpConnection: forward received data to handler immediately without concatenating buffers
2013-04-08 11:00:39 -07:00
Roland Kuhn
22968a3ab8
Merge pull request #1281 from spray/master
...
Smaller improvements to TCP side of new akka-io implementation
2013-04-04 02:47:35 -07:00
Mathias
1790bc0e1a
TcpOutgoingConnection: Respond with CommandFailed rather than ErrorClosed on failed connect
...
Before, a Tcp.ErrorClosed event is generated when a connection attempt fails. For symmetry with the Tcp.Bind case and general usability of the API a Tcp.CommandFailed(connect) is the better choice.
2013-04-04 11:39:37 +02:00
Viktor Klang
6976317bc7
Merged with master
2013-04-03 16:21:22 +02:00
Johannes Rudolph
fc6b7830a9
TcpConnection: forward received data to handler immediately without concatenating buffers
...
For these reasons:
- pipeline effect will allow to start processing on the first part of the
data immediately in parallel
- data in `Received` messages is now always a simple ByteStrings which will
improve iteration speed in the next layer
- code becomes simpler
2013-04-03 16:10:49 +02:00
Björn Antonsson
a4ab7a9841
Cleaning up the ActorRef serialization according to review. See #3137
2013-04-03 10:49:38 +02:00
Viktor Klang
c883705242
#3018 - Enabling -Xlint and dealing with the situation that occurs
2013-03-29 01:43:17 +01:00
Björn Antonsson
e18281803e
Read instead of write to get connection reset by peer. See #3128
2013-03-20 11:21:09 +01:00
Endre Sándor Varga
cbe582454c
Fixed TcpConnetionSpec to be l10n aware #3089
2013-03-04 14:35:00 +01:00
Endre Sándor Varga
f8d178502e
Fixed race between async close() and ChannelReadable message in tests #3055
2013-03-01 16:21:27 +01:00
Viktor Klang (√)
b92d0a42ca
Merge pull request #1204 from akka/wip-3093-removing-temporal-constraints-√
...
#3093 - removing the temporal constraints on TcpConnectionSpec
2013-02-26 02:02:54 -08:00
drewhk
f8237d1c67
Merge pull request #1198 from drewhk/wip-3064-nonblocking-tcp-tests-drewhk
...
Removed blocking code from TcpConnectionSpec #3064
2013-02-26 01:55:52 -08:00
Endre Sándor Varga
6321663471
Merge branch '1182'
...
Conflicts:
akka-actor-tests/src/test/scala/akka/io/TcpConnectionSpec.scala
2013-02-25 16:37:04 +01:00
Viktor Klang
aa16bfaa66
#3093 - removing the temporal constraints on TcpConnectionSpec
2013-02-25 15:44:38 +01:00
Endre Sándor Varga
185771c91d
Removed blocking code from TcpConnectionSpec #3064
2013-02-25 13:50:11 +01:00
drewhk
00b16997f2
Merge pull request #1183 from drewhk/wip-disable-l10n-sensitive-io-tests-drewhk
...
Temporary fix to make build happy again.
2013-02-22 05:08:00 -08:00
Endre Sándor Varga
050a7f1e6c
Temporary fix to make build happy again.
2013-02-22 13:31:23 +01:00
Mathias
fd3f69c762
Fix typos in TcpConnectionSpec
2013-02-22 12:20:47 +01:00
Patrik Nordwall
2a45d99ab3
Change more copyright to 2009-2013, see #2879
...
* Also added some missing headers
2013-02-20 21:26:52 +01:00
Endre Sándor Varga
e9da097621
Fixed according to revew comments
2013-02-10 13:52:52 +01:00
Endre Sándor Varga
74396246ce
Connection based UDP fixed
...
- SelectionHandler unregisters only selected interests, not all.
- Fixed tests to be properly ignored on Windows
2013-02-07 17:54:42 +01:00
Endre Sándor Varga
91d798cee1
Updated tests to work (or be disabled) on Win
2013-02-06 17:52:49 +01:00
Endre Sándor Varga
6f0d0911a9
Bind failures are now explicitly reported instead of swallowed
2013-02-06 12:17:52 +01:00
Endre Sándor Varga
1ec065b0cd
Factored out common manager code and SocketOptions
2013-02-05 11:48:47 +01:00
Endre Sándor Varga
58ab585844
Various fixes to tests
2013-02-04 11:21:04 +01:00
Roland
389768b488
clean up test output and help aggregation to pass on my Mac
2013-01-30 11:28:47 +01:00
Roland
a964843843
move akka-io project into akka-actor’s akka.io package
2013-01-30 09:30:59 +01:00