Hi, looking at the net package of the standard library, I don't see a way to set the tcp max segment size. Surely, one can create a tcp connection manually and set the segment size by using the syscall package, but that approach prevents them from reusing higher level packages that want a net.Dialer, for example crypto/tls. So in short, to create a tls connection in golang and set its TCP MSS, one has to reimplement tls, unless I missed something.
Would it make sense to have a dialer field for the MSS? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/9da18f3d-dac4-429f-83a2-e7949d254d90n%40googlegroups.com.