The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cURL bandwidth

Discussion in 'General Discussion' started by Datcrack, Mar 20, 2010.

  1. Datcrack

    Datcrack Well-Known Member

    Joined:
    Dec 31, 2006
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Istanbul / TURKEY
    cPanel Access Level:
    Root Administrator
    Hi,

    Does traffic generated using cURL use any bandwidth from the hosts limits ?

    Thanks.
     
  2. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    I have not directly tested that against cpanel usage stats but since most Curl calls is actually standard web traffic, I would think that it should unless perhaps you are connecting to some non-standard port location.

    It's a curious question though and I'll try mock up a test on that ....
     
  3. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    If you have a script running on your account (for a rather extreme example: a web proxy) that uses cURL to retrieve data, then that data transfer from the remote server to the server your account resides on will not be counted against your bandwidth quota.

    However, data downloaded from your account regardless of what is retrieving it (a web browser, a podcatcher, cURL etc.) will be counted towards your bandwidth.
     
  4. Datcrack

    Datcrack Well-Known Member

    Joined:
    Dec 31, 2006
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Istanbul / TURKEY
    cPanel Access Level:
    Root Administrator
    This is actually terrible news. Can't curl be wrapped for traffic measurement purposes ?
     
  5. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    If you have any preferences with regards to potential implementations, let me know. I can then take that response to start a discussion about this implementation on our Feature Request forums so our developers can become involved in the conversation.
     
Loading...

Share This Page