[wp-trac] [WordPress Trac] #10045: fsockopen() fails connecting to localhost when the server contains a ipv6 hosts entry

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 6 07:11:33 GMT 2009


#10045: fsockopen() fails connecting to localhost when the server contains a ipv6
hosts entry
--------------------------+-------------------------------------------------
 Reporter:  dd32          |       Owner:  dd32     
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  2.8      
Component:  HTTP          |     Version:  2.8      
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------
 fsockopen() fails connecting to localhost when the server contains a ipv6
 hosts entry, While this only happens with certain versions of PHP (And has
 been a bug for quite a long time) i feel its probably best to work around
 it.

 See patch which sets it to connect to 127.0.0.1 in these cases.

 (Note, This mainly affects those who are running test blogs on
 http://localhost/ and cron kicks in)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10045>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list