cloudflared-mirror/h2mux
Igor Postelnik 44e3be2c88 TUN-3209: improve performance and reduce allocations during user header serialization from h1 to h2
benchmark                                    old ns/op     new ns/op     delta
BenchmarkH1ResponseToH2ResponseHeaders-4     10360         5048          -51.27%

benchmark                                    old allocs     new allocs     delta
BenchmarkH1ResponseToH2ResponseHeaders-4     135            26             -80.74%

benchmark                                    old bytes     new bytes     delta
BenchmarkH1ResponseToH2ResponseHeaders-4     8543          3667          -57.08%
2020-07-29 14:29:07 +00:00
..
sample TUN-2779: update sample HTML pages 2020-03-03 19:35:41 +00:00
activestreammap.go TUN-2631: only notify that activeStreamMap is closed if ignoreNewStreams=true 2019-12-11 17:05:28 -06:00
activestreammap_test.go TUN-2631: only notify that activeStreamMap is closed if ignoreNewStreams=true 2019-12-11 17:05:28 -06:00
booleanfuse.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
bytes_counter.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
bytes_counter_test.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
error.go TUN-2162: Decomplect OpenStream to allow finer-grained timeouts 2019-09-05 15:23:41 +00:00
h2_compressor_brotli.go TUN-813: Clean up cloudflared dependencies 2018-07-24 18:07:02 -05:00
h2_compressor_none.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
h2_dictionaries.go bug(cloudflared): nil pointer deference on h2DictWriter Close() (#154) 2019-12-03 16:29:40 +04:00
h2mux.go AUTH-2596 added new logger package and replaced logrus 2020-05-27 17:07:19 -05:00
h2mux_test.go AUTH-2596 added new logger package and replaced logrus 2020-05-27 17:07:19 -05:00
header.go TUN-3209: improve performance and reduce allocations during user header serialization from h1 to h2 2020-07-29 14:29:07 +00:00
header_test.go TUN-3209: improve performance and reduce allocations during user header serialization from h1 to h2 2020-07-29 14:29:07 +00:00
idletimer.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
idletimer_test.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
muxedstream.go TUN-2608: h2mux.Muxer.Shutdown always returns a non-nil channel 2019-12-04 17:21:30 +00:00
muxedstream_test.go TUN-1893: Proxy requests to the origin based on tunnel hostname 2019-06-13 14:46:22 -05:00
muxmetrics.go AUTH-2596 added new logger package and replaced logrus 2020-05-27 17:07:19 -05:00
muxmetrics_test.go AUTH-2596 added new logger package and replaced logrus 2020-05-27 17:07:19 -05:00
muxreader.go AUTH-2596 added new logger package and replaced logrus 2020-05-27 17:07:19 -05:00
muxreader_test.go TUN-2506: Expose active streams metrics 2019-11-07 14:09:31 -06:00
muxwriter.go AUTH-2648 updated usage text 2020-06-11 11:08:05 -05:00
muxwriter_test.go TUN-2796: Implement HTTP2 CONTINUATION headers correctly 2020-03-24 13:46:17 +00:00
readylist.go TUN-1358: Close readyList after Muxer.Serve() has stopped running 2019-01-22 15:54:29 -06:00
readylist_test.go TUN-1358: Close readyList after Muxer.Serve() has stopped running 2019-01-22 15:54:29 -06:00
rtt.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
shared_buffer.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
shared_buffer_test.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
signal.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
streamerrormap.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00