You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If RESULT is not OK, SAM closes the connection without adding a newline byte. The library hangs when this happens. I believe this is caused by the line self.reader.read_line(&mut response)?. it doesn't find a \n byte so it keeps waiting until it finds one.
The text was updated successfully, but these errors were encountered:
I looked at i2pd's source code, and it does appear that every response should have a newline on it's end. For some reason though, the library hangs at self.reader.read_line(&mut response?) in Session::command() when the SAM command STREAM FORWARD... is executed. When I run that command over telnet it gets a reply almost instantly, so I don't believe it's from SAM just not responding.
If
RESULT
is not OK, SAM closes the connection without adding a newline byte. The library hangs when this happens. I believe this is caused by the lineself.reader.read_line(&mut response)?
. it doesn't find a \n byte so it keeps waiting until it finds one.The text was updated successfully, but these errors were encountered: