Skip to content
This repository has been archived by the owner on Dec 5, 2021. It is now read-only.

AuthSendCodeRequest: Unable to read beyond the end of stream. #64

Closed
ahmadi173 opened this issue Jan 16, 2016 · 1 comment
Closed

AuthSendCodeRequest: Unable to read beyond the end of stream. #64

ahmadi173 opened this issue Jan 16, 2016 · 1 comment

Comments

@ahmadi173
Copy link
Contributor

in following method : OnResponse in class : AuthSendCodeRequest
in following lines :

var sendCodeTimeout = reader.ReadInt32();
var isPassword = reader.ReadUInt32() == boolTrue;

it return an exception with following content :
unable to read beyond the end of stream.

i think you should delete that two lines, because the do anything and are not used in any other place of class, just they are throwing error. ;-)

@sochix
Copy link
Owner

sochix commented Feb 1, 2016

Provide stack trace and your code snippet.

@sochix sochix changed the title bug report AuthSendCodeRequest: Unable to read beyond the end of stream. Feb 1, 2016
@sochix sochix closed this as completed Oct 11, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants