TUN-4889: Add back appendtagheaders function

TUN-4701 accidentally removed adding tagheaders. This commit adds it
back.
This commit is contained in:
Sudarsan Reddy
2021-08-23 16:04:09 +01:00
parent 3ef3e7a99a
commit b6c85401a5
4 changed files with 5 additions and 3 deletions

View File

@@ -76,7 +76,6 @@ func (p Protocol) TLSSettings() *TLSSettings {
ServerName: edgeH2TLSServerName,
}
case QUIC:
fmt.Println("returning this?")
return &TLSSettings{
ServerName: edgeQUICServerName,
NextProtos: []string{"argotunnel"},

View File

@@ -106,7 +106,6 @@ func (q *QUICConnection) handleStream(stream quic.Stream) error {
w := newHTTPResponseAdapter(stream)
return q.httpProxy.ProxyHTTP(w, req, connectRequest.Type == quicpogs.ConnectionTypeWebsocket)
case quicpogs.ConnectionTypeTCP:
// TODO: This is a placeholder for testing completion. TUN-4865 will add proper TCP support.
rwa := &streamReadWriteAcker{
ReadWriter: stream,
}