Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Problems on 100-continue + HTTPS

Hi Simone,
I made a new build with the latest source codes.

curl -k --http2 -H "Expect: 100-continue" -d "body" https://localhost:9021/body
This test passed.

But I still found something interesting.
In my webapp, /body is a pretty simple Servlet, which just print something.
If using a static file, like https://localhost:9021/index, namely,
curl -k --http2 -H "Expect: 100-continue" -d "body" https://localhost:9021/index
it looks no error.
But if add -v option for curl, namley
curl -vk --http2 -H "Expect: 100-continue" -d "body" https://localhost:9021/index
I met: curl: (92) HTTP/2 stream 1 was not closed cleanly: CANCEL (err 8)

I tried several times.
1. If accessing a Servlet, there is no error.
2. If accessing a static page, the following error raised: curl: (92) HTTP/2 stream 1 was not closed cleanly: CANCEL (err 8)

Is it a problem?

2016-09-06 21:00 GMT+08:00 Simone Bordet <sbordet@xxxxxxxxxxx>:
Hi,

On Tue, Sep 6, 2016 at 2:24 PM, John Jiang <john.sha.jiang@xxxxxxxxx> wrote:
> Hi Simone,
>
> 2016-09-06 18:03 GMT+08:00 Simone Bordet <sbordet@xxxxxxxxxxx>:
>>
>> Hi,
>>
>> On Tue, Sep 6, 2016 at 12:00 PM, Simone Bordet <sbordet@xxxxxxxxxxx>
>> wrote:
>> > It was a bug, tracked here:
>> > https://github.com/eclipse/jetty.project/issues/902
>>
>> It's fixed, can you try the latest Jetty 9.3.x code and report back if
>> it's working for you ?
>
> Clone all of the source codes and build it by myself?

Yes, branch "jetty-9.3.x" and:

mvn install -DskipTests=true

for a quick build.

--
Simone Bordet
----
http://cometd.org
http://webtide.com
Developer advice, training, services and support
from the Jetty & CometD experts.
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top