Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upParallel communication #47
Comments
|
At the moment that's not possible, as the handler function would need to tell the server that the request is only processed partially. I assume that it's possible, but it would need some major changes to how The only thing that the ASync-Server example can provide is that your regular loop() code would run during long requests, if the handler function blocks (e.g. due to waiting for I/O). |
I'm using a sample file in the Examples/Async-Server directory.
I need to send very large response files.
Currently, communication looks like this:
... etc.
So customer 2 has to wait until client 1 gets the whole answer. I want to avoid it.
And I would like to handle all requests in parallel:
... etc. every loop
Is it possible? How can I do this?