]> Cypherpunks repositories - gostls13.git/commit
fcgi: fix server capability discovery
authorBrad Fitzpatrick <bradfitz@golang.org>
Wed, 16 Nov 2011 18:11:39 +0000 (10:11 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 16 Nov 2011 18:11:39 +0000 (10:11 -0800)
commit881f2076fb595d85fd8fa80ab2a7000b5a6ab737
tree3288ed5b6adccc2f0242785a48ae4e5c77c28e9b
parentf5db4d05f299c8cf681eae0f1b3faeb3b8df7bdb
fcgi: fix server capability discovery

The wrong length was being sent, and two parameters
were also transposed. Made the record type be a type
and made the constants typed, to prevent that sort
of bug in the future.

Fixes #2469

R=golang-dev, edsrzf
CC=golang-dev
https://golang.org/cl/5394046
src/pkg/net/http/fcgi/child.go
src/pkg/net/http/fcgi/fcgi.go
src/pkg/net/http/fcgi/fcgi_test.go