Changeset 29620
- Timestamp:
- 02/06/09 11:38:54 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/HTTP-Engine/trunk/lib/HTTP/Engine/Role/RequestBuilder/Standard.pm
r26174 r29620 22 22 } 23 23 24 # for win32 hacks 25 BEGIN { 26 if ($^O eq 'MSWin32') { 27 no warnings 'redefine'; 28 *_build_hostname = sub { 29 my ( $self, $req ) = @_; 30 my $address = $req->address; 31 return 'localhost' if $address; 32 return gethostbyaddr( inet_aton( $req->address ), AF_INET ); 33 }; 34 } 35 } 36 24 37 1;
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)