-
Notifications
You must be signed in to change notification settings - Fork 7.9k
getaddrinfo conversion #15555
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
getaddrinfo conversion #15555
Changes from 3 commits
005addf
d5b3cfe
b7b5028
84b8214
5dcd076
c8d649e
68d1e19
6253129
8556fdf
16cd84a
41c590b
c4efccd
b6c219b
500f68c
8fb9002
3dbfdf5
7267213
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ curl | |
--SKIPIF-- | ||
<?php | ||
$addr = "www.".uniqid().".".uniqid(); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Surely we could try to come up with something that we know does not exist? Like a weird subdomain name of |
||
if (gethostbyname($addr) != $addr) { | ||
if (@gethostbyname($addr) != $addr) { | ||
print "skip catch all dns"; | ||
} | ||
?> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -136,11 +136,6 @@ static void file_globals_ctor(php_file_globals *file_globals_p) | |
|
||
static void file_globals_dtor(php_file_globals *file_globals_p) | ||
{ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Call to this should also be removed then. |
||
#if defined(HAVE_GETHOSTBYNAME_R) | ||
if (file_globals_p->tmp_host_buf) { | ||
free(file_globals_p->tmp_host_buf); | ||
} | ||
#endif | ||
} | ||
|
||
static PHP_INI_MH(OnUpdateAutoDetectLineEndings) | ||
|
Uh oh!
There was an error while loading. Please reload this page.