networking.c and fopen wrappers etc. (was RE: [PHP-DEV] some IPv6 code added, compile problems anyone?)
| From: | Wez Furlong | Date: | Wed, 06 Sep 2000 19:19:43 +0000 |
| Subject: | networking.c and fopen wrappers etc. (was RE: [PHP-DEV] some IPv6 code added, compile problems anyone?) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-32466@lists.php.net to get a copy of this message | ||
Stig,
I have a patch (against 4.0.1pl2) that allowed you to use SSL (from OpenSSL)
on sockets opened via fsockopen. fread and fwrite would use the appropriate
openSSL functions for data transfer.
I would like to see this used/usable from the fopen-wrappers.
I asked for CVS write access ("the guys on the board" seem a bit busy, as I
haven't heard anything of it), so we can collaborate on this, or I can send
you the patch and let you do all the work ;-)
--Wez.
> -----Original Message-----
> From: Stig Venaas [mailto:Stig.Venaas@uninett.no]
> Sent: 05 September 2000 17:12
> To: php-dev@lists.php.net
> Subject: [PHP-DEV] some IPv6 code added, compile problems anyone?
>
>
> I've made the hostconnect() function use IPv6 for those who have
> getaddrinfo() and an IPv6 enabled host. I've also made it try all
> addresses for a host before giving up.
>
> This is now used by fopen for HTTP access, so if you do for
> instance fopen("http://www.uninett.no/",
> "r") it would first
> try IPv6, and if that fails, it will try IPv4, since it has both
> an IPv6 and an IPv4 address. IPv6 addresses can't be used yet,
> due to parsing problems. I will fix that. Let me know if this
> doesn't work for you.
>
> I've tested the new code on Linux, FreeBSD and Solaris, but I'm not
> very surprised if people have compile problems.
>
> If you find that you can't compile the current CVS, in particular
> if it happens in network.c, please let me know immediately. I would
> also like to know if you get warnings compiling network.c.
>
> Stig
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>