mirror of
https://github.com/cedar2025/hysteria.git
synced 2025-08-11 11:51:49 +00:00
feat(wip): udp rework server side
This commit is contained in:
@@ -400,7 +400,7 @@ func (c *udpConn) Receive() ([]byte, string, error) {
|
||||
// Send is not thread-safe as it uses a shared send buffer for now.
|
||||
func (c *udpConn) Send(data []byte, addr string) error {
|
||||
// Try no frag first
|
||||
msg := protocol.UDPMessage{
|
||||
msg := &protocol.UDPMessage{
|
||||
SessionID: c.SessionID,
|
||||
PacketID: 0,
|
||||
FragID: 0,
|
||||
|
Reference in New Issue
Block a user