Maxim Khitrov

Results 40 comments of Maxim Khitrov

Sorry, didn't realize I needed to keep `` in the issue. Please reopen.

Just ran into this issue. Does the PR require more work?

Please post the output of your sample code along with the raw message log (`imap.DefaultLogMask = imap.LogConn | imap.LogRaw`).

The problem that you guys are running into is that it's not safe to call IdleTerm concurrently with Recv. The [documentation](https://godoc.org/github.com/mxk/go-imap/imap#hdr-Concurrency) says: "The Client and its Command objects cannot be...

Run that code with the race detector on. I've never tried it, but I'm betting that it will complain about a lot of things. The rest of the client state...

I just pushed a new interrupt branch, which I think may be the better solution to your problem. I haven't tested these changes, but the idea is to allow one...

Use the As\* functions to navigate the returned structure. See https://github.com/mxk/go-imap/blob/master/imap/response.go#L266 for an example and https://tools.ietf.org/html/rfc3501#section-7.4.2 for a description of BODYSTRUCTURE. There is also a test example: https://github.com/mxk/go-imap/blob/master/imap/reader_test.go#L519.

I've been following that discussion on golang-nuts. Right now, I don't have much time to spend on a new project. You are welcome to take any code from the client...

You're right about code reuse, my only concern would be the introduction of many new dependencies that aren't necessary for the client. It's a question of how much functionality you...

I wrote a [script to generate TF Serving gRPC interfaces for Go](https://gist.github.com/mxk/b86769306037c9dc49b44d52764cbbdc), but it would be nice if we could run `protoc` directly without jumping through these hoops.