Skip to content

Commit aa26429

Browse files
committed
Remove irrelevant TODOs
1 parent da83204 commit aa26429

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

cmd/run.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ var runCmd = &cobra.Command{
7777
// gnet.WithLogLevel(zapcore.DebugLevel),
7878

7979
// Buffer options
80-
// TODO: This should be configurable and optimized.
8180
gnet.WithReadBufferCap(serverConfig.ReadBufferCap),
8281
gnet.WithWriteBufferCap(serverConfig.WriteBufferCap),
8382
gnet.WithSocketRecvBuffer(serverConfig.SocketRecvBuffer),

network/proxy.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ func (pr *ProxyImpl) PassThrough(
144144
}
145145
}
146146

147-
// TODO: parse the buffer and send the response or error
148147
// TODO: This is a very basic implementation of the gateway
149148
// and it is synchronous. I should make it asynchronous.
150149
pr.logger.Debug().Msgf("Received %d bytes from %s", len(buf), gconn.RemoteAddr().String())

0 commit comments

Comments
 (0)