php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59211 Missing HttpRequestPool class.
Submitted: 2010-05-13 06:51 UTC Modified: 2010-06-09 05:41 UTC
From: RQuadling at GMail dot com Assigned: mike (profile)
Status: Closed Package: pecl_http (PECL)
PHP Version: 5.3.2 OS: Windows XP SP3
Private report: No CVE-ID: None
 [2010-05-13 06:51 UTC] RQuadling at GMail dot com
Description:
------------
I've just built the trunk.

When I run ...

php -d extension=php_http.dll --ri http

or

php -d extension=php_http.dll --re http

Neither of these show any reference to HttpRequestPool, though 
the code is present in the checkout.




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-05-17 03:53 UTC] mike@php.net
Does it show the HttpRequest class?

Did you compile with libcurl support?
 [2010-05-17 06:42 UTC] RQuadling at GMail dot com
I transferred the compiled php_http.dll to my test machine 
and  for ...

php -d extension=php_http.dll --re http | find /i "Class"

I get (I'm on windows - find is a plain text version of grep 
ish).

  - Classes [20] {
    Class [ <internal:http> class HttpException extends 
Exception ] {
    Class [ <internal:http> class HttpRuntimeException 
extends HttpException ] {
    Class [ <internal:http> class HttpInvalidParamException 
extends HttpException ] {
    Class [ <internal:http> class HttpHeaderException 
extends HttpException ] {
    Class [ <internal:http> class 
HttpMalformedHeadersException extends HttpException ] {
    Class [ <internal:http> class HttpRequestMethodException 
extends HttpException ] {
    Class [ <internal:http> class HttpMessageTypeException 
extends HttpException ] {
    Class [ <internal:http> class HttpEncodingException 
extends HttpException ] {
    Class [ <internal:http> class HttpRequestException 
extends HttpException ] {
    Class [ <internal:http> class HttpRequestPoolException 
extends HttpException ] {
    Class [ <internal:http> class HttpSocketException 
extends HttpException ] {
    Class [ <internal:http> class HttpResponseException 
extends HttpException ] {
    Class [ <internal:http> class HttpUrlException extends 
HttpException ] {
    Class [ <internal:http> class HttpQueryStringException 
extends HttpException ] {
    Class [ <internal:http> class HttpDeflateStream ] {
            Parameter #1 [ <optional> $class_name ]
    Class [ <internal:http> class HttpInflateStream ] {
            Parameter #1 [ <optional> $class_name ]
    Class [ <internal:http> <iterateable> class HttpMessage 
implements Countable, Serializable, Iterator, Traversable ] 
{
            Parameter #1 [ <optional> $class_name ]
            Parameter #1 [ <optional> $class_name ]
            Parameter #1 [ <optional> $class_name ]
    Class [ <internal:http> class HttpQueryString implements 
Serializable, ArrayAccess ] {
            Parameter #2 [ <optional> $class_name ]
    Class [ <internal:http> class HttpResponse ] {
    Class [ <internal:http> class HttpUtil ] {

I can see HttpRequestPoolException and HttpRequest, but not 
HttpRequestPool
 [2010-05-17 09:21 UTC] RQuadling at GMail dot com
My configure is ...

configure
	"--disable-zts"
	"--enable-debug-pack"
	"--enable-http=shared"
	"--enable-sqlsrv=shared"
	"--enable-timezonedb=shared"
	"--enable-win32service=shared"
	"--enable-wincache=shared"
	"--with-mp=auto"
	"--without-mysql"
	"--without-mysqli"
	%*
 [2010-06-09 03:31 UTC] mike@php.net
There's no HttpRequest class in this list, try --with-http-curl-requests
 [2010-06-09 05:22 UTC] RQuadling at GMail dot com
No joy with the option.



Unknown option -with-http-curl-requests; please try 
configure.js --help for a list of valid options



C:\php-sdk\php_53dev\vc9\x86\PHP_5_3>configure --help | find 
/i "curl"
  --with-curl                   cURL support

C:\php-sdk\php_53dev\vc9\x86\PHP_5_3>configure --help | find 
/i "http"
                                
(http://wiki.php.net/internals/windows/libs).
  --enable-http                 whether to enable extended 
HTTP support
 [2010-06-09 05:41 UTC] RQuadling at GMail dot com
Seems V1.7.0 has this fixed.

Or (and the more likely reason), it was something I was doing.

Thanks.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 17:01:29 2024 UTC