I have enabled TCP keep-alive timeout for vert.x http server using the following setting.
But When I make a curl request, the response doesn't have the keep alive information.
POST '
http://localhost:8080/<path>' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"text": "same text"
}'
Note: Unnecessary use of -X or --request, POST is already inferred.
* Trying 127.0.0.1:8080...
* Connected to localhost (127.0.0.1) port 8080 (#0)
> POST <path> HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/8.1.2
> Accept: */*
> Authorization: Bearer <token>
> Content-Type: application/json
> Content-Length: <length>
>
< HTTP/1.1 200 OK
< content-type: application/json
< content-length: 2
<
* Connection #0 to host localhost left intact
{}%
The above response is from vert.x server, it doesn't have "connection: keep-alive", could you please let me know if I am missing something.
Thank you.