curl delay or wait for 1 second on HTTP POST requests
Issue
- curl delay or wait for 1 second on HTTP POST requests
- Using
curlto perform a HTTP POST to a webserver, there is a delay of over 1000ms processing the reply from the httpd - Time of
curlcommand is expected to be more like 20-90ms, not 1000ms:
time curl -H "Content-Type: application/xml" -d @body.xml -X POST http://127.0.0.1:8080/path/to/handler
real 0m1.015s
user 0m0.005s
sys 0m0.007s
Environment
- Red Hat Enterprise Linux
curlcommandline binary or other application usinglibcurl- HTTP POST
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.