[go-nuts] Re: VS + GO plugin questions

2019-09-17 Thread Rick
I am running VSCode with no GOPATH set, the Copls language server selected and using Go (v 1.13) modules for my projects - works fine. On Monday, 16 September 2019 11:31:14 UTC-7, joe mcguckin wrote: > > I installed this on my Mac. For M$, it actually looks pretty nice. > > I had to remap the F1

[go-nuts] request for feedback: another websocket server implementation

2019-09-17 Thread Jochen Voss
Dear all, Because I wanted to learn about the websocket protocol, I have implemented a websocket server in Go: code: https://github.com/seehuhn/go-websocket documentation: https://godoc.org/seehuhn.de/go/websocket I would be happy to receive feedback about my code. Specific questions:

Re: [go-nuts] tls: unsupported SSLv2 handshake received

2019-09-17 Thread Ian Lance Taylor
[ +filippo ] On Tue, Sep 17, 2019 at 1:14 AM Prabhash Rathore wrote: > > Hello, > > We run one of the large volume MTA (Mail Transfer Agent) servers which is > responsible for receiving emails from internet. This SMTP server is > implemented in Golang. > > We notice around 2% of TLS connections

Re: [go-nuts] Re: Package-to-package bindings and package-scope variables

2019-09-17 Thread clement auger
hi Michel, canonical import path ? https://golang.org/doc/go1.4#canonicalimports https://docs.google.com/document/d/1jVFkZTcYbNLaTxXD9OcGfn7vYv5hWtPx9--lTx1gPMs/edit you also might want to check, https://github.com/golang/tools/tree/master/cmd/gomvpkg https://github.com/golang/tools/tree/master/

Re: [go-nuts] How to build gollvm on arm platform

2019-09-17 Thread eric fang
Hi Than, I got another question for you. For indirect parameters, arm-aapcs abi requires to do a copy of the parameter on stack, and then pass the address of the copied parameter to callee. I tried to do a memcpy of the indirect parameter in function Llvm_backend::genCallMarshallArgs, but fail

Re: [go-nuts] Re: Package-to-package bindings and package-scope variables

2019-09-17 Thread Michel Levieux
Hi again Clément, It is indeed an uncommon practice, but I can explain my motivations behind this little project: Where I work, we have a huge helper package with lots of sub-packages. This package existed long before I started working there, and we (the devs) knew it would be a problem at some po

[go-nuts] tls: unsupported SSLv2 handshake received

2019-09-17 Thread Prabhash Rathore
Hello, We run one of the large volume MTA (Mail Transfer Agent) servers which is responsible for receiving emails from internet. This SMTP server is implemented in Golang. We notice around 2% of TLS connections (clients use Starttls to upgrade plain connection to TLS) fail with following error