You are not logged in.
I discover a strange issue under Linux. Every POST request is took 1 second in TCurlHTTP.
This is because a "Expect: 100-continue" header is added by curl by default.
Server should respond with "100" see MDN, but Socket-based server in mORMot do not handle this header.
Even if we implement 100 response (i already implement) one second delay occurs in case of HTTP1.0 protocol is used.
So the best choice is to add a 'Expect:' header for non GET requests inside TCurlHTTP as in #154 pull request
@ab - please, merge it into master (and #153 also )
Offline
See https://synopse.info/fossil/info/8372271548a86edc
Thanks for the feedback!
Offline