Description
The opamp-spec does not explicitly support long-polling HTTP requests.
In theory, an opamp-server could hold off on responding to the client's HTTP request for a period of time, assuming the client does not time-out, before sending a response.
This would lead to less connections being formed, and less messages being exchanged by the client+server.
However this breaks existing assumptions with how the client communicates with the server:
Lines 484 to 491 in e18e075
When it comes to long-polling connections, the client would not be able to reliably update the server for the poll duration.
If we want to add long-polling support for HTTP connections we should add a mechanism to allow the client to send another message to the server without receiving a response.