Go issue tracker problem

89 views
Skip to first unread message

_tb

unread,
May 21, 2013, 5:36:57 AM5/21/13
to golan...@googlegroups.com
Hi, folks!

I'm experiencing a problem submitting an issue to the golang issue tracker: https://code.google.com/p/go/issues/list.

I'm filing the issue, get a 'Thank you for creating issue X', but then after a page refresh it is said that the issue was deleted. I thought that maybe it is somehow connected with some premoderation/review, but my first issue didn't appear even after 6-8 hours. I created another similar one, but got the same story. 

Could anyone help me with that? Maybe I do something wrong. The issue itself:

======================================

What steps will reproduce the problem?


What is the expected output?


What do you see instead?

http://javascript.ru GET: Error: Get http://javascript.ru: malformed HTTP version "\x1f\x8b\b\x00\x00\x00\x00\x00\x00\x03\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00HTTP/1.1"

Which compiler are you using (5g, 6g, 8g, gccgo)?

6g

Which operating system are you using?

Ubuntu 13.04

* Also reproducible on Windows 7

Which version are you using?  (run 'go version')

go version go1.1 linux/amd64

* Also reproducible on: devel +c786b0f8eb4b Tue May 21 03:22:52 2013 +0800 windows/amd64

Please provide any additional information below.

The issue happens after sending a 'HEAD' request to a resource and then performing another request. In the snippet above, I send 'HEAD' and then 'GET'. The same would be if 'HEAD' after 'HEAD' is used. If 'HEAD' request is not used, then no such errors occur.

Dave Cheney

unread,
May 21, 2013, 7:59:12 AM5/21/13
to _tb, golang-nuts
Thank you, I have raised
https://code.google.com/p/go/issues/detail?id=5522 on your behalf.

Something strange is going on there. On my system, if I switch the
order of HEAD and GET requests I see an error very similar to
https://groups.google.com/d/msg/golang-nuts/bA36hjOETAI/7r2t4u0G83cJ
> --
> 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...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Dmitry Bondarenko

unread,
May 21, 2013, 8:11:05 AM5/21/13
to Dave Cheney, _tb, golang-nuts
Thanks, Dave!

Yes, the problem is a bit strange, seems like a reused internal buffer issue or something like that, because if you repeat the 'GET', the error disappears. So my temporary solution is:

if e != nil {
}
return r, e

BTW maybe you have some guesses why I couldn't post an issue to the tracker? Maybe I'm not allowed to insert such external links or something like that? Or is it just a pretty long pre-moderation step? I tried twice and it told me "Thanks for issue 5520", "Thanks for issue 5521".

Dmitry Bondarenko

unread,
May 21, 2013, 8:21:04 AM5/21/13
to Dave Cheney, _tb, golang-nuts
And one more interesting detail: in my case the request is malformed not only when a GET follows a HEAD request. In my case it is reproducible if a HEAD follows a HEAD request too. So it is like 'when any request follows a HEAD request'.


On Tue, May 21, 2013 at 3:59 PM, Dave Cheney <da...@cheney.net> wrote:

Dave Cheney

unread,
May 21, 2013, 8:21:54 AM5/21/13
to Dmitry Bondarenko, _tb, golang-nuts
I have no idea what happened to those two issues, I don't have that
level of access to the issue tracker.
Reply all
Reply to author
Forward
0 new messages