netsec-ethz / scion-apps

Public repository for SCION applications
Apache License 2.0
20 stars 43 forks source link

appquic: silence quic-go warnings #202

Closed matzf closed 3 years ago

matzf commented 3 years ago

quic-go wants to set the read buffer size for the Conn, but snet and the dispatcher setup does not support this. Faking the operations to set the read buffer size does not work, as quic-go also checks directly with a system call whether the operation was successful. As a hacky workaround, we simply silence the logger during the quic.Dial and quic.Listen calls.

Closes #201


This change is Reviewable