Tim Bart
92736b2677
bug(cloudflared): nil pointer deference on h2DictWriter Close() ( #154 )
...
Unlike other h2DictWriter methods, the Close() method does check whether
w.comp is nil.
This PR adds a check for non nil compressor before attempting to close
Bug: #141
2019-12-03 16:29:40 +04:00
Nick Vollmar
1d96bccc04
TUN-2178: public API to create new h2mux.MuxedStreamRequest
2019-11-13 14:04:19 -06:00
Chung-Ting Huang
13bf65ce4e
TUN-2506: Expose active streams metrics
2019-11-07 14:09:31 -06:00
Nick Vollmar
e14ec1a1fb
TUN-2505: Terminate stream on receipt of RST_STREAM; MuxedStream.CloseWrite() should terminate the MuxedStream.Write() loop
2019-11-06 21:24:18 +00:00
Chung-Ting Huang
3a9a0a0d75
TUN-2489: Delete stream from activestreammap when read and write are both closed
2019-11-05 11:06:11 -06:00
Felix Bünemann
1f6a330098
Fix #129 : Excessive memory usage streaming large files ( #142 )
...
This drops the default size auf the h2mux write buffer from 512 MB to 1 MB.
This massively reduces memory usage, since each stream has its own buffer.
2019-10-17 17:15:51 -05:00
Nick Vollmar
4d2583edf5
TUN-2344: log more details: http2.Framer.ErrorDetail() if available, connectionID
2019-10-15 10:59:24 -05:00
Nick Vollmar
b836cb350a
TUN-2162: Decomplect OpenStream to allow finer-grained timeouts
2019-09-05 15:23:41 +00:00
Chung-Ting Huang
2fa09e1cc6
TUN-1976: Pass tunnel hostname through header
2019-06-21 10:43:06 -05:00
Chung-Ting Huang
d26a8c5d44
TUN-1893: Proxy requests to the origin based on tunnel hostname
2019-06-13 14:46:22 -05:00
Chung-Ting Huang
ca619a97bc
TUN-1952: Group ClientConfig fields by the component that uses the config, and return the part of the config that failed to be applied
2019-06-13 14:39:51 -05:00
Nick Vollmar
6f8708d33c
TUN-1847: Log a distinct message when OpenStream fails while waiting for response headers
2019-05-13 16:46:25 -05:00
Chung-Ting Huang
2bef5dbe72
TUN-1682: Add context to OpenStream to prevent it from blocking indefinitely.
2019-04-11 13:44:42 -05:00
Nick Vollmar
5bf6dd8f85
TUN-1358: Close readyList after Muxer.Serve() has stopped running
2019-01-22 15:54:29 -06:00
Nick Vollmar
f6014cb2b4
TUN-968: Flow control for large requests/responses
2018-10-26 11:16:02 -05:00
Areg Harutyunyan
0468866626
TUN-813: Clean up cloudflared dependencies
2018-07-24 18:07:02 -05:00
Areg Harutyunyan
d06fc520c7
TUN-528: Move cloudflared into a separate repo
2018-07-19 15:02:24 -05:00