[
https://issues.jboss.org/browse/ISPN-10487?page=com.atlassian.jira.plugin...
]
Tristan Tarrant updated ISPN-10487:
-----------------------------------
Sprint: DataGrid Sprint #32, DataGrid Sprint #33, DataGrid Sprint #34, DataGrid Sprint
#35, DataGrid Sprint #36, DataGrid Sprint #37 (was: DataGrid Sprint #32, DataGrid Sprint
#33, DataGrid Sprint #34, DataGrid Sprint #35, DataGrid Sprint #36)
HTTP/2 POST: Request Entity Too Large
-------------------------------------
Key: ISPN-10487
URL:
https://issues.jboss.org/browse/ISPN-10487
Project: Infinispan
Issue Type: Bug
Components: Server
Reporter: Gustavo Fernandes
Assignee: Gustavo Fernandes
Priority: Major
Labels: http2
Fix For: 10.0.0.CR2
Start server-ng and create a cache named 'default':
{noformat}
curl -v -XPOST -d '{"distributed-cache":{"mode":
"SYNC"}}' -H "Content-type: application/json"
http://localhost:11222/rest/v2/caches/default
{noformat}
Try to put an entry using HTTP/2
{noformat}
curl -v -XPOST -d '1' -H "Content-type: application/json"
http://localhost:11222/rest/v2/caches/default/1 --http2
{noformat}
Error 413 is received:
{noformat}
* Trying ::1:11222...
* TCP_NODELAY set
* connect to ::1 port 11222 failed: Connection refused
* Trying 127.0.0.1:11222...
* TCP_NODELAY set
* Connected to localhost (127.0.0.1) port 11222 (#0)
> POST /rest/v2/caches/default/1 HTTP/1.1
> Host: localhost:11222
> User-Agent: curl/7.65.3
> Accept: */*
> Connection: Upgrade, HTTP2-Settings
> Upgrade: h2c
> HTTP2-Settings: AAMAAABkAARAAAAAAAIAAAAA
> Content-type: application/json
> Content-Length: 1
>
* upload completely sent off: 1 out of 1 bytes
* Mark bundle as not supporting multiuse
< HTTP/1.1 413 Request Entity Too Large
< content-length: 0
<
* Connection #0 to host localhost left intact
{noformat}
The same command line without http/2 succeeds
--
This message was sent by Atlassian Jira
(v7.13.8#713008)