Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Received data splits if is too long #16

Open
andrey-skl opened this issue Apr 15, 2017 · 1 comment
Open

Received data splits if is too long #16

andrey-skl opened this issue Apr 15, 2017 · 1 comment

Comments

@andrey-skl
Copy link

andrey-skl commented Apr 15, 2017

Extracted from #9 (comment)

My server returns data in single line. But if it is very large (a few dozen screens if use line-breaks, I may measure if needed), looks like URLSession calls didReceiveData with parts of payload. I found it here. So payload just comes broken.

@andrey-skl
Copy link
Author

andrey-skl commented Apr 15, 2017

@neilco Thank you for pointing how to fix this, but I'm afraid I can't – I just don't know ObjC. I guess there should be some data concatenation and end detection logic implemented as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant