snnagar / apns-sharp

Automatically exported from code.google.com/p/apns-sharp
0 stars 0 forks source link

Freeze when retrieving Feedback #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce the problem:
1. Call FeedbackService.Run() when there are some connectivity issues

Maybe timeout should be used...

Ver. 1.0.2.0
OS Win2003 Server / XP

Probably due to connection issue, TcpClient is first to freeze, after the
internal timeout, returns "not connected". After retrying and establishing
a valid connection it freezes forever on the following row:
"recd = apnsStream.Read(buffer, 0, buffer.Length);"

Original issue reported on code.google.com by ofer.com...@gmail.com on 7 Feb 2010 at 2:05

GoogleCodeExporter commented 9 years ago
Hmm, if apnsStream.Read never returns, that means the server hasn't written any 
data to 
the stream, and no data is being read from the stream on the client end.  
However, the 
feedback service should either send data (if there's feedback of course), or 
disconnect... 

This might be more difficult to reproduce here, are you able to get this issue 
by doing 
something as simple as unplugging your network cable, running the service, and 
then 
plugging the cable back in while it's running, after it's timed out at least 
once?

Original comment by jond...@gmail.com on 25 Feb 2010 at 4:31

GoogleCodeExporter commented 9 years ago
I can't reproduce this and no more feedback from the reporter so not fixing.

Feel free to start a new issue if you keep having this problem and can 
reproduce it!

Original comment by jond...@gmail.com on 27 Mar 2010 at 6:40