BIND 10 #2494: sync_udp_server (asio) gives in under heavy stress

BIND 10 Development do-not-reply at isc.org
Mon Dec 17 10:24:55 UTC 2012


#2494: sync_udp_server (asio) gives in under heavy stress
-------------------------------------+-------------------------------------
            Reporter:  jelte         |                        Owner:  jelte
                Type:  defect        |                       Status:
            Priority:  medium        |  closed
           Component:  b10-auth      |                    Milestone:
            Keywords:                |  Sprint-20121218
           Sensitive:  1             |                   Resolution:  fixed
         Sub-Project:  DNS           |                 CVSS Scoring:
Estimated Difficulty:  0             |              Defect Severity:  High
         Total Hours:  0             |  Feature Depending on Ticket:
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
Changes (by jelte):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 Replying to [comment:9 jinmei]:
 >
 > Is this `ec` the one passed as a callback for async_send_to due to the
 > "coroutine" magic?
 > {{{#!cpp
 >         if (ec) {
 >             LOG_ERROR(logger, ASIODNS_UDP_ASYNC_SEND_FAIL).
 >                       arg(data_->sender_->address().to_string()).
 >                       arg(ec.message());
 >         }
 > }}}
 > if so, the branch looks okay (although it looks quite counter
 > intuitive...)

 Yes, it is; the completion of the send action will cause the 'coroutine'
 to be called one last time, with the ec value of the send result.

 OK added changelog, and merged the branch. Closing ticket

-- 
Ticket URL: <http://bind10.isc.org/ticket/2494#comment:12>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list