httprl 6.x-1.11
| Download | Size | md5 hash |
|---|---|---|
| httprl-6.x-1.11.tar.gz | 38.66 KB | 2425acc38a7cc988d64412e338394019 |
| httprl-6.x-1.11.zip | 41.64 KB | 50e97eec5c115f6ac32869d4262607ae |
Release notes
Bug Fixes
#1924932: drupal_http_request() BUG after updating to core 7.20
New Features
#1918728: Performance tweaks
#1958518: Take advantage of D7 core 7.22 ability to overwrite drupal_http_request
httprl 7.x-1.11
| Download | Size | md5 hash |
|---|---|---|
| httprl-7.x-1.11.tar.gz | 38.66 KB | c5f4c7bb977d4a1f84624815332756da |
| httprl-7.x-1.11.zip | 41.63 KB | 45165534d8bea46bf0cbbe72730b8262 |
Release notes
Bug Fixes
#1924932: drupal_http_request() BUG after updating to core 7.20
New Features
#1918728: Performance tweaks
#1958518: Take advantage of D7 core 7.22 ability to overwrite drupal_http_request
httprl 6.x-1.10
| Download | Size | md5 hash |
|---|---|---|
| httprl-6.x-1.10.tar.gz | 38.4 KB | 7816ae41522bc346839d17b452465c9e |
| httprl-6.x-1.10.zip | 41.29 KB | f3a21fbd1290fe74595c4f092d9af3d1 |
Release notes
Bug Fixes
#1837776: Background requests going to the correct IP but wrong Host.
New Features
#1530636: Exit event loop once all fwites() have been done; pick back up later on to do all freads().
#1905858: Print out bool's or null's multiple levels deep
#1909120: Ping DB every 20 seconds to keep DB connection open.
#1903844: Don't get locks for background processes until they are about to be used
Notes
The usage of httprl_build_url_self() has changed slightly. If you use this you need to set the Host header in the request as well; this is related to the bug fix in this release. The readme has several examples of setting the Host header.
httprl 7.x-1.10
| Download | Size | md5 hash |
|---|---|---|
| httprl-7.x-1.10.tar.gz | 38.4 KB | 4d373d61e8ddca4b4f0a9f424eacdf34 |
| httprl-7.x-1.10.zip | 41.28 KB | 96d9a71f3fd5736f35303fa81388c509 |
Release notes
Bug Fixes
#1837776: Background requests going to the correct IP but wrong Host.
New Features
#1530636: Exit event loop once all fwites() have been done; pick back up later on to do all freads().
#1905858: Print out bool's or null's multiple levels deep
#1909120: Ping DB every 20 seconds to keep DB connection open.
#1903844: Don't get locks for background processes until they are about to be used
Notes
The usage of httprl_build_url_self() has changed slightly. If you use this you need to set the Host header in the request as well; this is related to the bug fix in this release. The readme has several examples of setting the Host header.
httprl 7.x-1.9
| Download | Size | md5 hash |
|---|---|---|
| httprl-7.x-1.9.tar.gz | 37.14 KB | ae9316b8ad8a922b6aa0b72a12a91e7f |
| httprl-7.x-1.9.zip | 39.93 KB | f865567357f633894f032292175f66fb |
Release notes
Bug Fixes
#1873942: Non-existent host is status code 11001
#1873954: False alarms, sites are up and running
#1874764: Connection timed out message may confuse end users
#1738548: HTTPRL - Core drupal_http_request() error in Status repport (maintenance mode)
#1885600: Fix coder warnings
#1888790: Fatal error: Cannot use object of type stdClass as array in
#1888762: Warning: stream_select(): 3239 is not a valid stream resource in httprl_send_request()
#1891676: More issues with timings
#1878454: When does something happen?
New Features
#1426854: Enforce Range headers on the client side
#1874600: Option to re-assemble byteranges
#1889006: Add example for file save
Notes
A new function httprl_is_backround_callback_capable() has been added. You can now disable background callbacks on the configuration page. If background callbacks are disabled, httprl_queue_background_callback() will return NULL. If a 'background_callback' is set for a normal http request, it will be transformed into a 'callback' and then ran. Disabling backround callbacks should only been done if you can not get them to work on your server.
httprl 6.x-1.9
| Download | Size | md5 hash |
|---|---|---|
| httprl-6.x-1.9.tar.gz | 37.14 KB | cae757ab36c0e16b3d8fa50b57a98473 |
| httprl-6.x-1.9.zip | 39.94 KB | abb98ad4f888c50b90fbcf79d6f74986 |
Release notes
Bug Fixes
#1873942: Non-existent host is status code 11001
#1873954: False alarms, sites are up and running
#1874764: Connection timed out message may confuse end users
#1738548: HTTPRL - Core drupal_http_request() error in Status repport (maintenance mode)
#1885600: Fix coder warnings
#1888790: Fatal error: Cannot use object of type stdClass as array in
#1888762: Warning: stream_select(): 3239 is not a valid stream resource in httprl_send_request()
#1891676: More issues with timings
#1878454: When does something happen?
New Features
#1426854: Enforce Range headers on the client side
#1874600: Option to re-assemble byteranges
#1889006: Add example for file save
Notes
A new function httprl_is_backround_callback_capable() has been added. You can now disable background callbacks on the configuration page. If background callbacks are disabled, httprl_queue_background_callback() will return NULL. If a 'background_callback' is set for a normal http request, it will be transformed into a 'callback' and then ran. Disabling backround callbacks should only been done if you can not get them to work on your server.
httprl 6.x-1.8
| Download | Size | md5 hash |
|---|---|---|
| httprl-6.x-1.8.tar.gz | 33.64 KB | 657c01beba315d609b8e7f5a678557f4 |
| httprl-6.x-1.8.zip | 36.3 KB | 42eaa82b2d219b36ef2eb0768998400a |
Release notes
Bug Fixes
#1804050: httprl_queue_background_callback overwrites counter variable when getting lock
#1832954: Code Refactoring
#1697244: Connection refused by destination. Write. curl works
#1846282: Fix coder warnings
#1870850: Global Timeout not working as expected.
#1871724: callback not called in all cases
#1870844: undefined variable: request, flags in httprl_request() line 872
#1869002: Extreme memory and cpu usage
New Features
#1820190: Have httprl_pr use var_export of the value if the string length of print_r is zero.
#1826624: Allow code to run without any drupal bootstrap
#1780562: Example of sending a file
#1851314: Add more examples to readme
Notes
The default value for domain_connections is now 2. It was 8 in the past.
Creating the TCP connection now happens inside of the event loop.
HTTPRL can be ran without any drupal bootstrap (Caveats).
Files can be sent. Example is in the readme.txt.
httprl 7.x-1.8
| Download | Size | md5 hash |
|---|---|---|
| httprl-7.x-1.8.tar.gz | 33.64 KB | 16d6a9baae305c682c47745653d0043b |
| httprl-7.x-1.8.zip | 36.3 KB | 165fc109bf48a92ff8dbd27e334e4e67 |
Release notes
Bug Fixes
#1804050: httprl_queue_background_callback overwrites counter variable when getting lock
#1832954: Code Refactoring
#1697244: Connection refused by destination. Write. curl works
#1846282: Fix coder warnings
#1870850: Global Timeout not working as expected.
#1871724: callback not called in all cases
#1870844: undefined variable: request, flags in httprl_request() line 872
#1869002: Extreme memory and cpu usage
New Features
#1820190: Have httprl_pr use var_export of the value if the string length of print_r is zero.
#1826624: Allow code to run without any drupal bootstrap
#1780562: Example of sending a file
#1851314: Add more examples to readme
Notes
The default value for domain_connections is now 2. It was 8 in the past.
Creating the TCP connection now happens inside of the event loop.
HTTPRL can be ran without any drupal bootstrap (Caveats).
Files can be sent. Example is in the readme.txt.
httprl 6.x-1.7
| Download | Size | md5 hash |
|---|---|---|
| httprl-6.x-1.7.tar.gz | 31.04 KB | a5cf159c99aaee834375656cff14718c |
| httprl-6.x-1.7.zip | 33.7 KB | 1d014fc5de36f6d1028d5cc86d0bf84b |
Release notes
Bug Fixes
#1543908: Pass by reference not working for httprl_queue_background_callback().
#1548100: Warning: array_unshift() expects parameter 1 to be array, null given in httprl_run_callback()
#1555154: Fix locking with core's lock.inc.
#1653394: Only capture printed output if printed is set.
New Features
#1320172: Bring in proxy support
#1460828: Let $url be a string or an array in httprl_request
#1555314: Document how to do a SQL query in the background/parallel
#1558456: Create hook_boot endpoint
#1551598: Option to load context (User, URL, etc...) in background process.
#1580166: Option to run function at the end of httprl_post_processing that can alter the $responses and $streams variables
#1325662: Usage and/or caching of gethostbyname
httprl 7.x-1.7
| Download | Size | md5 hash |
|---|---|---|
| httprl-7.x-1.7.tar.gz | 31.04 KB | 5932af134f2ff4f44df56461bc8f9edf |
| httprl-7.x-1.7.zip | 33.7 KB | 048ed084bffb327a8d7a7748f8222383 |
Release notes
Bug Fixes
#1543908: Pass by reference not working for httprl_queue_background_callback().
#1548100: Warning: array_unshift() expects parameter 1 to be array, null given in httprl_run_callback()
#1555154: Fix locking with core's lock.inc.
#1653394: Only capture printed output if printed is set.
New Features
#1320172: Bring in proxy support
#1460828: Let $url be a string or an array in httprl_request
#1555314: Document how to do a SQL query in the background/parallel
#1558456: Create hook_boot endpoint
#1551598: Option to load context (User, URL, etc...) in background process.
#1580166: Option to run function at the end of httprl_post_processing that can alter the $responses and $streams variables
#1325662: Usage and/or caching of gethostbyname
httprl 7.x-1.6
| Download | Size | md5 hash |
|---|---|---|
| httprl-7.x-1.6.tar.gz | 24.86 KB | 1c2a1c9271e3fd51ebb89e85bbca34d7 |
| httprl-7.x-1.6.zip | 27.66 KB | 1a6c2bda2913a13e8727d8395f246e80 |
Release notes
Bug Fixes
#1524968: Run drupal_alter() in httprl_post_processing()
#1537486: http_build_query using & instead of &
New Features
#1491170: POST data empty
#1427958: Run callback after stream has been fetched
#1529246: Run callback in a different process.
See the readme for examples on how to use some of the new features in this release.
httprl 6.x-1.6
| Download | Size | md5 hash |
|---|---|---|
| httprl-6.x-1.6.tar.gz | 24.86 KB | ae5594e43b35c7d4ec96e06658ee3b13 |
| httprl-6.x-1.6.zip | 27.66 KB | 00da5df1804fe463f9a023201a13197c |
Release notes
Bug Fixes
#1524968: Run drupal_alter() in httprl_post_processing()
#1537486: http_build_query using & instead of &
New Features
#1491170: POST data empty
#1427958: Run callback after stream has been fetched
#1529246: Run callback in a different process.
See the readme for examples on how to use some of the new features in this release.
httprl 6.x-1.5
| Download | Size | md5 hash |
|---|---|---|
| httprl-6.x-1.5.tar.gz | 21.07 KB | c24e683ac9a4c5768415a361b9e0efb7 |
| httprl-6.x-1.5.zip | 23.34 KB | d1412a69927ee49ce2e05043727e94b9 |
Release notes
Notes:
The redirect_code/redirect_url are string now. You can find the arrays in redirect_code_array/redirect_url_array.
Issues Fixed:
#1429264: WSOD because of suppressed D6 leftover error
#1429272: Use of undefined constant HTTP_REQUEST_FWRITE_FAIL
#1428484: Improperly formatted HTTP version cause very many malfunctions
#1427966: fwrite(): XXX is not a valid stream resource in httprl_send_request()
#1437422: Fix minor things with timers and small code optimizations.
#1444892: Some versions of PHP have issues with a lot of data going over the wire in fwrite().
#1428474: redirect_code/redirect_url are arrays, not single values like core (expected)
#1446662: stream_select timings
#1455528: Add in a readme file
Notes on the new features:
- async_connect: default is TRUE. FALSE may give more info on errors but is generally slower.
httprl 7.x-1.5
| Download | Size | md5 hash |
|---|---|---|
| httprl-7.x-1.5.tar.gz | 21.07 KB | 7fd5b7ddf967640e2fd41c708c7f9985 |
| httprl-7.x-1.5.zip | 23.34 KB | 747eee1c13599b7074efb835f8a2f92b |
Release notes
Notes:
The redirect_code/redirect_url are string now. You can find the arrays in redirect_code_array/redirect_url_array.
Issues Fixed:
#1429264: WSOD because of suppressed D6 leftover error
#1429272: Use of undefined constant HTTP_REQUEST_FWRITE_FAIL
#1428484: Improperly formatted HTTP version cause very many malfunctions
#1427966: fwrite(): XXX is not a valid stream resource in httprl_send_request()
#1437422: Fix minor things with timers and small code optimizations.
#1444892: Some versions of PHP have issues with a lot of data going over the wire in fwrite().
#1428474: redirect_code/redirect_url are arrays, not single values like core (expected)
#1446662: stream_select timings
#1455528: Add in a readme file
Notes on the new features:
- async_connect: default is TRUE. FALSE may give more info on errors but is generally slower.
httprl 6.x-1.4
| Download | Size | md5 hash |
|---|---|---|
| httprl-6.x-1.4.tar.gz | 19.26 KB | 931ce2f334f6a884486eecfca694d951 |
| httprl-6.x-1.4.zip | 21.01 KB | 3b27cd2374704d7d63ad7cf292aa1810 |
Release notes
Note:
Be sure to flush the menu cache if you wish to access the Configuration page.
Bugs Fixed:
#1420080: Settings form not shown
#1420488: Remove more D6 leftovers that will break in D8
#1419728: Use drupal_convert_to_utf8() for UTF8 conversion
#1420440: Wrong placeholders used in translatable strings of httprl_requirements()
#1420496: HTTP tests are failing
#1419686: Remove invalid referrer
#1420472: D7 upgrade: exit; -> drupal_exit(); leftovers
#1419672: Responds object incomplete / inconsistent
#1420092: httprl_lock_release() not upgraded to D7
#1420084: Status page shows warning as it's using IPv6 and not IPv4 address
#1420104: Logic is broken with redirects
New Features:
#1268096: Implement a rate limiter
#1419744: Exit processing in httprl_send_request() after specified page request run time
#1426886: Allow HTTPRL to operate at the database bootstrap level.
#1426854: Enforce Range headers on the client side
Notes on the new features:
- domain_connections: Maximum number of simultaneous connections to a given domain name. Default is 8.
- global_connections: Maximum number of simultaneous connections that can be open on the server. Default is 128.
- global_timeout: A float representing the maximum number of seconds the function call may take. If a timeout occurs, the error code is set to the HTTP_FUNCTION_TIMEOUT constant. Default is 120 seconds.
Added new documentation for headers that can be sent to the server:
- For POST: 'Content-Type' => 'application/x-www-form-urlencoded',
- Limit number of bytes server sends back: 'Range' => 'bytes=0-1024',
- Let server know where request came from: 'Referer' => 'example.com',
- Content-Types that are acceptable: 'Accept' => 'text/plain',
- Send Cookies: 'Cookie' => 'key1=value1; key2=value2;',
- Skip the cache: 'Cache-Control' => 'no-cache',
- Skip the cache: 'Pragma' => 'no-cache',
HTTPRL can safely be ran at the DB bootstrap level now.
<?php
httprl 7.x-1.4
| Download | Size | md5 hash |
|---|---|---|
| httprl-7.x-1.4.tar.gz | 19.26 KB | 8244d8378ae42531880191e8a1dbf52c |
| httprl-7.x-1.4.zip | 21.01 KB | 0cdeb79000a3ad774b588a1c97cf4f4f |
Release notes
Note:
Be sure to flush the menu cache if you wish to access the Configuration page (one time operation).
Bugs Fixed:
#1420080: Settings form not shown
#1420488: Remove more D6 leftovers that will break in D8
#1419728: Use drupal_convert_to_utf8() for UTF8 conversion
#1420440: Wrong placeholders used in translatable strings of httprl_requirements()
#1420496: HTTP tests are failing
#1419686: Remove invalid referrer
#1420472: D7 upgrade: exit; -> drupal_exit(); leftovers
#1419672: Responds object incomplete / inconsistent
#1420092: httprl_lock_release() not upgraded to D7
#1420084: Status page shows warning as it's using IPv6 and not IPv4 address
#1420104: Logic is broken with redirects
New Features:
#1268096: Implement a rate limiter
#1419744: Exit processing in httprl_send_request() after specified page request run time
#1426886: Allow HTTPRL to operate at the database bootstrap level.
#1426854: Enforce Range headers on the client side
Notes on the new features:
- domain_connections: Maximum number of simultaneous connections to a given domain name. Default is 8.
- global_connections: Maximum number of simultaneous connections that can be open on the server. Default is 128.
- global_timeout: A float representing the maximum number of seconds the function call may take. If a timeout occurs, the error code is set to the HTTP_FUNCTION_TIMEOUT constant. Default is 120 seconds.
Added new documentation for headers that can be sent to the server:
- For POST: 'Content-Type' => 'application/x-www-form-urlencoded',
- Limit number of bytes server sends back: 'Range' => 'bytes=0-1024',
- Let server know where request came from: 'Referer' => 'example.com',
- Content-Types that are acceptable: 'Accept' => 'text/plain',
- Send Cookies: 'Cookie' => 'key1=value1; key2=value2;',
- Skip the cache: 'Cache-Control' => 'no-cache',
- Skip the cache: 'Pragma' => 'no-cache',
HTTPRL can safely be ran at the DB bootstrap level now.
<?php
httprl 6.x-1.3
| Download | Size | md5 hash |
|---|---|---|
| httprl-6.x-1.3.tar.gz | 17.84 KB | a01dd5ce95fcff465f5dbe419fd25909 |
| httprl-6.x-1.3.zip | 19.51 KB | 37ee7e358278e9fe258e6129ea427059 |
Release notes
Bugs Fixed
#1320238: Timeout ineffective when waiting for server response
#1317918: This server does not handle hanging connections.
#1351238: httprl susceptible to stream_socket_client ASYNC SSL bug in PHP 5.2
#1336086: No response for failed domain lookup
#1367618: Non blocking test does not work on HTTPS setups
#1354282: HTTPS connections going missing
New Features
#1357482: Handle chunked and compression.
#1320222: Bring in other drupal patches
httprl 7.x-1.3
| Download | Size | md5 hash |
|---|---|---|
| httprl-7.x-1.3.tar.gz | 17.85 KB | bc15873354ee63809410e5528ba4527c |
| httprl-7.x-1.3.zip | 19.51 KB | 79b5dd4d3400fb0bf37a8b904f5deda6 |
Release notes
Bugs Fixed
#1320238: Timeout ineffective when waiting for server response
#1317918: This server does not handle hanging connections.
#1351238: httprl susceptible to stream_socket_client ASYNC SSL bug in PHP 5.2
#1336086: No response for failed domain lookup
#1367618: Non blocking test does not work on HTTPS setups
#1354282: HTTPS connections going missing
New Features
#1357482: Handle chunked and compression.
#1320222: Bring in other drupal patches
httprl 6.x-1.2
| Download | Size | md5 hash |
|---|---|---|
| httprl-6.x-1.2.tar.gz | 15.92 KB | 5fdff8caa0399e46e5e7a57670197326 |
| httprl-6.x-1.2.zip | 17.55 KB | 262f0c1bbd99d24e1985d8deabfb5cfc |
Release notes
Bugs Fixed:
Update uninstall hook to remove variables.
Issue #1278482 by mikeytown2: remove host header on a redirect (#1278482: Notice: Undefined index: url in httprl_send_request() (line 491 of /sites/all/modules/httprl/httprl.module).).
Looking to help?
Features that need to be coded
#1268096: Implement a rate limiter
#1272542: fallback code
httprl 7.x-1.2
| Download | Size | md5 hash |
|---|---|---|
| httprl-7.x-1.2.tar.gz | 15.92 KB | 5da623686c1346f6dd3240cbb297319a |
| httprl-7.x-1.2.zip | 17.55 KB | a5313296d6959545f306d920f35b4de9 |
Release notes
Bugs Fixed:
Update uninstall hook to remove variables. (and fix bad commit)
Issue #1278482 by mikeytown2: remove host header on a redirect (#1278482: Notice: Undefined index: url in httprl_send_request() (line 491 of /sites/all/modules/httprl/httprl.module).).
Looking to help?
Features that need to be coded
#1268096: Implement a rate limiter
#1272542: fallback code