Avoid "Unknown command" messages when receiving getaddr on outbound c… #7642

pull rebroad wants to merge 1 commits into bitcoin:master from rebroad:GetAddrUnknownCommand changing 1 files +11 −6
  1. rebroad commented at 2:36 PM on March 4, 2016: contributor

    …onnections.

    Replaces #6344 and addresses concerns raised (i.e. now logs this exceptional event).

  2. rebroad force-pushed on Mar 4, 2016
  3. sipa commented at 3:48 AM on March 5, 2016: member

    utACK

    Tiny nit: can you use a less wide commit title? See http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html for example.

  4. dgenr8 cross-referenced this on Mar 5, 2016 from issue Avoid "Unknown command" messages when receiving getaddr on outbound c… by rebroad
  5. jonasschnelli added the label Refactoring on Mar 6, 2016
  6. MarcoFalke commented at 4:57 PM on March 7, 2016: member

    utACK d84ea1a

  7. kirkalx commented at 9:40 PM on March 7, 2016: contributor

    utACK. Was looking at this code recently @rebroad and as I recall there were a few other similar situations there if you are looking for some more cleanups. Otherwise I'll put it on my TODO list :)

    e.g.

        else if (strCommand == NetMsgType::HEADERS && !fImporting && !fReindex) // Ignore headers received while importing
    
  8. No "Unknown command" for getaddr command. 9988554fc7
  9. rebroad force-pushed on Mar 8, 2016
  10. rebroad commented at 8:51 AM on March 8, 2016: contributor

    @sipa commit reworded

  11. sipa merged this on Mar 9, 2016
  12. sipa closed this on Mar 9, 2016

  13. sipa referenced this in commit c8d2473e6c on Mar 9, 2016
  14. MarcoFalke commented at 12:36 AM on March 14, 2016: member

    Could be tagged with "Needs backport"

  15. laanwj added the label Needs backport on Mar 14, 2016
  16. MarcoFalke referenced this in commit c282118812 on Apr 25, 2016
  17. MarcoFalke referenced this in commit d3ead9bcb6 on Apr 27, 2016
  18. MarcoFalke commented at 10:55 AM on June 9, 2016: member

    Backported as part of #7938. Removing label 'Needs backport'.

  19. MarcoFalke removed the label Needs backport on Jun 9, 2016
  20. thokon00 referenced this in commit 43111e719b on Jun 28, 2016
  21. nomnombtc referenced this in commit a654022228 on Nov 12, 2016
  22. nomnombtc referenced this in commit 61c6626716 on Nov 12, 2016
  23. nomnombtc referenced this in commit 2e31b59354 on Nov 13, 2016
  24. sickpig referenced this in commit 902851423f on Nov 14, 2016
  25. Astrych referenced this in commit e4d56683a8 on Jan 16, 2019
  26. bitcoin locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:55 UTC