While searching for a cause for "Expect: 100-continue not working with
curl and HTTP/2" I have found another issue. I'd be happy if someone
else can reproduce this:
$ curl --verbose --negotiate -u : --upload-file
target/lda-docgen-webapp-0.1-backend-dev.war
'http://sitex-ldadw.ad001.siemens.net:18082/backend-dev/manager-1/text/deploy?path=%2Fbackend-dev&update=false&version=003'
--http2
* Uses proxy env variable NO_PROXY == 'localhost .siemens.net .siemens.com
.siemens.de'
* Trying 147.54.64.55...
* TCP_NODELAY set
* Connected to sitex-ldadw.ad001.siemens.net (147.54.64.55) port 18082 (#0)
* Server auth using Negotiate with user ''
PUT
/backend-dev/manager-1/text/deploy?path=%2Fbackend-dev&update=false&version=003
HTTP/1.1
Host: sitex-ldadw.ad001.siemens.net:18082
Authorization: Negotiate YIISJQYGKwYBBQ...
User-Agent: curl/7.64.1
Accept: */*
Connection: Upgrade, HTTP2-Settings
Upgrade: h2c
HTTP2-Settings: AAMAAABkAARAAAAAAAIAAAAA
Content-Length: 6502139
Expect: 100-continue
< HTTP/1.1 101
< Connection: Upgrade
< Upgrade: h2c
< Date: Sat, 30 Mar 2019 20:58:31 GMT
* Received 101
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Connection state changed (MAX_CONCURRENT_STREAMS == 200)!
< HTTP/2 200
< cache-control: private
< expires: Thu, 01 Jan 1970 00:00:00 GMT
< www-authenticate: Negotiate oYH1MIHyoAM...
< x-content-type-options: nosniff
< content-type: text/plain;charset=utf-8
< date: Sat, 30 Mar 2019 20:58:31 GMT
<
FAIL - Invalid context path [null] was specified
* Connection #0 to host sitex-ldadw.ad001.siemens.net left intact
* Closing connection 0
and here the access log:
147.54.64.55 - 2019-03-30T21:58:31.073 "PUT
/backend-dev/manager-1/text/deploy?path=%2Fbackend-dev&update=false&version=003
HTTP/1.1" 101 - 0
147.54.64.55 osipo...@ad001.siemens.net 2019-03-30T21:58:31.819 "PUT /backend-dev/manager-1/text/deploy HTTP/2.0" 200 49 744
'--trace-ascii -' with curl looks fine.
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org