Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
3399d44c
Commit
3399d44c
authored
Mar 17, 2011
by
Shane Kerr
Browse files
Record the time when we are using send() as well as sendTo()
parent
1516f8a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/resolve/recursive_query.cc
View file @
3399d44c
...
...
@@ -281,6 +281,7 @@ private:
if
(
test_server_
.
second
!=
0
)
{
dlog
(
"Sending upstream query ("
+
question_
.
toText
()
+
") to test server at "
+
test_server_
.
first
);
gettimeofday
(
&
current_ns_qsent_time
,
NULL
);
++
outstanding_events_
;
IOFetch
query
(
protocol
,
io_
,
question_
,
test_server_
.
first
,
...
...
@@ -293,6 +294,7 @@ private:
dlog
(
"Sending upstream query ("
+
question_
.
toText
()
+
") to "
+
upstream_
->
at
(
serverIndex
).
first
);
++
outstanding_events_
;
gettimeofday
(
&
current_ns_qsent_time
,
NULL
);
IOFetch
query
(
protocol
,
io_
,
question_
,
upstream_
->
at
(
serverIndex
).
first
,
upstream_
->
at
(
serverIndex
).
second
,
buffer_
,
this
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment