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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: nyim at 163 dot com
New email:
PHP Version: OS:

 

 [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-2019 The PHP Group
All rights reserved.
Last updated: Fri Sep 20 08:01:27 2019 UTC