Luis Durão

Results 17 comments of Luis Durão

I get the problem with the map being unordered but it should be changed to an array of structs so the order could be defined. The order is important or...

I just saw the PR by @ex-nerd. Adding parent types would be a really good solution because it would be a better DX than setting matchers priorities and wouldn't be...

@gotoxu That makes sense. I don't know if the part of the header that contains the Excel mime would **always** stay uncompressed. Is that be garanteed?

After some testing, I found out where the problem is. It's on the `textproto.Conn.ReadResponse` call inside `Response.Close`. After the connection is closed, the `textproto.Conn.ReadResponse` call hangs because it stays waiting...

The biggest problem for me is it just hangs. It doesn't return an error. It's just a hang. I'm trying to see if I can come up with a testable...

Strangely enough, `textproto`'s [documentation](https://pkg.go.dev/net/textproto#ProtocolError) hints that it should handle hung connections. ```go // A ProtocolError describes a protocol violation such // as an invalid response or a hung-up connection. type...

Darn... After analysing even further, I see implementing `ABOR` isn't going to be trivial because `ABOR` needs to be sent __before__ `RETR` ends. The timeline of aborting an incomplete `RETR`...

I had the same issue and even found out that some type definitions on some functions returned from the hooks are just wrong (`{cameraRef}` parameter is missing in the types...