calling wcf gurus (again)
firstly, i've logged this on both microsoft connect and stackoverflow
I have a nettcp wcf service with a CallbackContract for duplex
communication using reliable sessions. After the session is established
the server uses the callback channel to push several messages to the client:
message1: 1024kb
message2: 200bytes
message3: 300bytes
message4: 400bytes
On slower connections (but still decent, say 20-40kb/sec) I observe the
first message is received however subsequent messages are delayed for a
period of time and using various networking utilities I established that
the server *resends* message1 several times. Depending on the network
speed it may resend as many as 5 times (the slower your link speed is).
*If you change the bindings and remove <reliableSession> the problem
disappears.*
It looks like this is 'normal' behaviour from some things I've read but
is causing havoc for people on slower connections (even 50kb/sec you get
'duplicate' messages)
I have reproduced my issue in a test project with as few moving parts as
possible.
https://connect.microsoft.com/VisualStudio/feedback/details/713819/wcf-nettcp-reliable-session-duplicating-messages#details
http://stackoverflow.com/questions/8487240/wcf-nettcp-reliable-session-duplicating-messages