Skip to content

Instantly share code, notes, and snippets.

View isimluk's full-sized avatar
:octocat:
Say Hi, I can help you with security, infrastructure, performance, and costs.

Šimon Lukašík isimluk

:octocat:
Say Hi, I can help you with security, infrastructure, performance, and costs.
View GitHub Profile
require 'webrick'
require 'webrick/https'
require 'ds9'
class HTTP2Server < WEBrick::HTTPServer
SETTINGS = [ [DS9::Settings::MAX_CONCURRENT_STREAMS, 100] ]
class HTTP2Response < WEBrick::HTTPResponse
def initialize config, ctx, stream_id
@ctx = ctx
require 'webrick'
require 'webrick/https'
require 'ds9'
class HTTP2Server < WEBrick::HTTPServer
SETTINGS = [ [DS9::Settings::MAX_CONCURRENT_STREAMS, 100] ]
class HTTP2Response < WEBrick::HTTPResponse
def initialize config, ctx, stream_id
@ctx = ctx