OkHttpServer does not provide a way to limit the number of max concurrent streams per connection like netty does.
OkHttpClient do handle max concurrent streams setting sent by the server.
OkHttpServerBuilder can provide a way to set max concurrent calls per connection like netty :
|
public NettyServerBuilder maxConcurrentCallsPerConnection(int maxCalls) { |
Then it has to send this settings to the client per connection and check at every new stream creation (header handling)