php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45240 curl post slow execution with a little big body
Submitted: 2008-06-11 16:39 UTC Modified: 2008-06-12 01:18 UTC
From: nyim at 163 dot com Assigned:
Status: Not a bug Package: cURL related
PHP Version: 5.2.6 OS: suse linux
Private report: No CVE-ID: None
 [2008-06-11 16:39 UTC] nyim at 163 dot com
Description:
------------
the same target url, using ip address, local area network
compare:
1 curl using get method with long query string, about 2 tcp packs without body.
2 curl using post with short post data, no more than 1 tcp packs
3 stream function emulate post data, about 2 tcp packs with header
4 curl using post with a little big body, about 2 tcp packs with header

the three before cost no more than 0.2 second
the 4th always cost more than 1 second,  avg 2 second

max data size in query string or post data less than 2000 bytes.




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-06-12 01:18 UTC] nyim at 163 dot com
sorry, when using a static content, in other server, just very fast
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 12:01:31 2024 UTC