Fix a typo in the test HTTP server
The test HTTP server code we use for testing had a typo where the the cookie inserted was "JESSIONID" instead of "JSESSIONID". This led to confusion and failing tempest tests. This patch changes it to "JSESSIONID" to avoid confusion. Change-Id: I7d6387c71ed96edead3a6a2338b0c78250d4c50d
This commit is contained in:
parent
2a69ad079e
commit
b7069879b8
|
@ -2,5 +2,5 @@ To build a statically linked binary for httpd on Ubuntu (can run anywhere):
|
|||
|
||||
```sh
|
||||
sudo apt-get install -y golang
|
||||
go build -ldflags "-w -linkmode external -extldflags -static" -o httpd.bin httpd.go
|
||||
go build -ldflags "-s -w -linkmode external -extldflags -static" -o httpd.bin httpd.go
|
||||
```
|
||||
|
|
Binary file not shown.
|
@ -95,7 +95,7 @@ func main() {
|
|||
flag.Parse()
|
||||
|
||||
resp = fmt.Sprintf("%s", *idPtr)
|
||||
sess_cookie.Name = "JESSIONID"
|
||||
sess_cookie.Name = "JSESSIONID"
|
||||
sess_cookie.Value = *idPtr
|
||||
|
||||
http.HandleFunc("/", root_handler)
|
||||
|
|
Loading…
Reference in New Issue