FreeBSD Bugzilla – Attachment 167901 Details for
Bug 207804
nscd negtive cache do not timeout for getaddrinfo:Non -recoverable failure in name resolution
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix nscd negtive ttl bug
nscd_netgive_ttl_11current.patch (text/plain), 724 bytes, created by
Jov
on 2016-03-09 07:13:31 UTC
(
hide
)
Description:
fix nscd negtive ttl bug
Filename:
MIME Type:
Creator:
Jov
Created:
2016-03-09 07:13:31 UTC
Size:
724 bytes
patch
obsolete
>diff --git a/query.c b/query.c >index f7e1f82..6672e07 100644 >--- a/query.c >+++ b/query.c >@@ -743,9 +743,14 @@ on_read_request_process(struct query_state *qstate) > &read_response->data_size); > > if (read_response->error_code == -2) { >- read_response->error_code = 0; >- read_response->data = NULL; >- read_response->data_size = 0; >+ read_response->data = malloc( >+ read_response->data_size); >+ assert(read_response != NULL); >+ read_response->error_code = cache_read(neg_c_entry, >+ read_request->cache_key, >+ read_request->cache_key_size, >+ read_response->data, >+ &read_response->data_size); > } > } > configuration_unlock_entry(qstate->config_entry, CELT_NEGATIVE);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 207804
: 167901