Skip to content
  • Jelte Jansen's avatar
    added a feature (yes i know, but this is a serious problem) to cc/session.py; · 13a3a9aa
    Jelte Jansen authored
    if you pass recvmsg() or group_recvmsg() the sequence number you got back from send(), it will only give back the answer to your message (which should be sent back with group_reply()); other messages are queued and returned on subsequent calls of recvmsg()
    
    this should fix at least the Bad config version some people have been having (which were caused by other messages getting in before the answer to certain requests made by cmdctl)
    
    it's only in the python version, and i would like someone to take a good look at this change (perhaps the api of this part can be better, and possibly a limit on how many messages are queued). If people are ok with this solution we'll add it to the cpp version too
    
    
    git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1418 e5f2f494-b856-4b98-b285-d166d9295462
    13a3a9aa