-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Only receiving first chunk of data using FileMiddleware server #2871
Comments
Hey so I make a stupid mistake in that example! I was using |
According to the Network.framework docs, if you're doing raw, unbounded TCP, You could change the request line to say |
Ah thank you!! Sorry I'll close this off. I needed something that used tls psk and plain tcp was the only way I could find in objective-c. |
Hey I've just tried with |
Do you get the same behaviour when serving the file from something like Nginx? |
Describe the bug
Only receiving first chunk of data receiving from
FileMiddleware
static server.This could well be due to the way I'm using Network.framework as a test client, but I'm really not sure where the problem lies.
To Reproduce
I created a test project that demonstates the behaviour: TestStaticServer
Steps to reproduce the behavior:
Expected behavior
Receive should keep receiving data until the whole file is sent (~3kb)
Environment
The text was updated successfully, but these errors were encountered: