aboutsummaryrefslogtreecommitdiffstats
path: root/p2p
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-03-19 22:15:07 +0800
committerFelix Lange <fjl@twurst.com>2015-03-19 22:15:07 +0800
commita7bced779a599fb3f87a69a5f8bb8017b62dc0a3 (patch)
tree6069668b8a48aa1eb64dd127dd7fd61073cbd6d9 /p2p
parent5ba51594c7eb1f04b3636e6413de6d4eb70228d2 (diff)
downloadgo-tangerine-a7bced779a599fb3f87a69a5f8bb8017b62dc0a3.tar.gz
go-tangerine-a7bced779a599fb3f87a69a5f8bb8017b62dc0a3.tar.zst
go-tangerine-a7bced779a599fb3f87a69a5f8bb8017b62dc0a3.zip
p2p: log disconnect requests
This helps a lot with debugging.
Diffstat (limited to 'p2p')
-rw-r--r--p2p/peer.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/p2p/peer.go b/p2p/peer.go
index ee5199d78..6b97ea58d 100644
--- a/p2p/peer.go
+++ b/p2p/peer.go
@@ -198,6 +198,7 @@ func (p *Peer) handle(msg Msg) error {
// no need to discard or for error checking, we'll close the
// connection after this.
rlp.Decode(msg.Payload, &reason)
+ p.Debugf("Disconnect requested: %v\n", reason[0])
p.Disconnect(DiscRequested)
return discRequestedError(reason[0])
case msg.Code < baseProtocolLength:
f='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/x11-clocks?id=cae08e859397d92ba76eb311de7e42bac0a7a1b9'>Update to 2.36wxs2012-04-242-3/+3 * Update to 3.1makc2012-02-223-4/+5 * - Bump PORTREVISION to chase the update of multimedia/libvpxashish2012-02-164-2/+4 * Update to 1.0.3eadler2012-02-112-4/+4 * Update to 1.0.6eadler2012-02-112-3/+3 * Update to 0.6.4rene2012-02-093-3/+5 * The KDE/FreeBSD team is pleased to announce KDE SC 4.7.4, whichavilla2012-01-251-2/+2 * Update to 0.6.3rene2012-01-083-3/+9 * - update to 2.8rm2012-01-062-8/+5 * - X11BASE is going away. Hack the last few ports that depend on X11BASE to no...eadler2011-12-262-1/+2 * - update to 1.0.5eadler2011-11-233-15/+3 * The KDE on FreeBSD team is pleased to update the KDE4 ports to 4.7.3.rakuco2011-11-141-2/+2 * Consistify spelling of "Xfce", and some other projects while there.rene2011-10-274-4/+4 * The vast majority of pkg-descr files had the following format when theydougb2011-10-243-4/+2 * Remove more tags from pkg-descr files fo the form:dougb2011-10-247-19/+0 * Re-assign to the Xfce team.rene2011-10-233-3/+3 * - update to 0.4.0dinoex2011-10-214-6/+30 * The KDE/FreeBSD team is pleased to announce KDE Software Compilationavilla2011-10-172-5/+7 * - remove uneeded oaf dependencybapt2011-10-061-2/+2 * Fix build error with clang.vanilla2011-09-281-0/+11 * When not -D BATCH mark IS_INTERACTIVE, make imake dependency unconditionaldougb2011-09-251-6/+7 * - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)amdmi32011-09-243-4/+3 * - update mkfontscale to 1.0.9eadler2011-09-182-4/+3 * Chase libnotify, libproxy and webkit-gtk2 shlib changes, and fix build where ...kwm2011-08-242-1/+13 * Remove USE_GNOME=gnometarget from ports. It has been a empty keyword sincekwm2011-08-124-4/+4 * - drop MASTER_SITE_GNUSTEP_CHdinoex2011-08-091-2/+1 * - add new WWWdinoex2011-08-071-0/+1 * - update WWWdinoex2011-08-071-1/+1 * Update broken/outdated WWW entries. Remove those where no alternate source wasehaupt2011-08-051-2/+0 * Remove WWW entries from unmaintained ports that return 404 or where the domainehaupt2011-08-031-2/+0 * Fix master_sitebapt2011-08-032-2/+2 * Reset maintainership de jure. In fact KDE 3 has not been maintained by our teammakc2011-07-081-1/+1 * Update KDE Software Compilation ports to 4.6.5makc2011-07-081-2/+2 * - - Fix MASTER_SITES & Cleanupmiwi2011-07-021-5/+3 * Fixes build with clangjlaffaye2011-06-291-2/+11 * - Update to 0.6.2miwi2011-06-253-5/+16 * Mark broken some ports with unfetchable distfilesbapt2011-06-171-0/+2 * The FreeBSD KDE Team is pleased to announce KDE SC 4.6.4. Read fullavilla2011-06-141-2/+2 * Update KDE Software Compilation ports to 4.6.3makc2011-05-171-2/+2 * removed expired ports from x11-clocksbapt2011-05-0218-304/+0 * The FreeBSD KDE Team is pleased to announce April updates for KDEavilla2011-04-071-2/+2 * - Update MASTER_SITESculot2011-04-071-2/+1 * - Update to 1.26miwi2011-03-273-9/+8 * - Fix MASTER_SITESmiwi2011-03-272-12/+5 * The FreeBSD KDE Team is pleased to announce KDE SC 4.6.1 and KDE PIMavilla2011-03-252-5/+2 * - Update MASTER_SITESdhn2011-03-251-5/+6 * - It doesn't depends of gnomelibs.araujo2011-03-201-1/+1 * - Get Rid MD5 supportmiwi2011-03-1958-59/+0 * - Update to 1.0.0miwi2011-03-173-10/+47 * Deprecate unmaintained ports from x11-clocks where upstream disapear and/orbapt2011-03-127-0/+21 * Adjustable Clock is a KDE 4 plasma applet that displays the date and time in aavilla2011-03-095-0/+57 * Welcome XFCE 4.8 to the portstree!oliver2011-03-033-6/+9 * - Please welcome Xorg 7.5.1miwi2011-02-261-2/+1 * Chase after net/openldap24-server update.delphij2011-02-252-1/+2 * - The KDE FreeBSD team is proud to announce the release of KDE 4.5.5fluffy2011-01-082-3/+2 * Return kris' ports to the heap.tabthorpe2011-01-022-2/+2 * Garbage-collect expired ports:rene2011-01-015-63/+0 * Fix the values in distinfo.brucec2010-12-281-2/+2 * Update to version 1.0.14.brucec2010-12-275-47/+20 * - Use canonical format for FreeBSD.org MAINTAINER addressessunpoet2010-12-262-2/+1 * - fix spellingdinoex2010-12-231-1/+1 * Fix plist via pointyhatdaichi2010-12-182-2/+45 * - Chase security/libksba shlib version bumpglarkin2010-12-162-1/+2 * - Mark BROKEN: incomplete plistpav2010-12-061-0/+2 * Sync to new bsd.autotools.mkade2010-12-042-2/+2 * KDE FreeBSD team presents KDE SC 4.5.4.makc2010-12-031-2/+2 * Use MASTER_SITE_SUBDIR instead of rolling my own.uqs2010-11-262-2/+4 * Fix remaining MASTER_SITE_LOCAL abuses for my ports.uqs2010-11-262-2/+2 * - Unbreak fetchpgollucci2010-11-242-3/+2 * - Update from 0.3.2 to 0.3.4daichi2010-11-242-8/+5 * KDE FreeBSD team presents KDE SC 4.5.3.makc2010-11-041-3/+2 * Mark as deprecated and set expiration date to 2010-12-30 for unmaintainedbapt2010-10-301-0/+2 * Drop maintainership for ports I can't maintain anymore.trasz2010-10-261-1/+1 * Update to 2.35wxs2010-10-142-4/+4 * KDE FreeBSD team presents KDE SC 4.5.2.makc2010-10-061-3/+3 * Mark BROKEN: does not fetcherwin2010-10-021-0/+2 * - Update to 2.13decke2010-09-173-6/+6 * KDE FreeBSD team presents KDE SC 4.5.1.makc2010-09-033-63/+36 * Fix a crash on sparc64 (and other 64-bit strict alignment archs).naddy2010-08-072-0/+12 * Update to 2.34wxs2010-07-052-4/+4 * Present KDE SC 4.4.5 for FreeBSD.makc2010-06-301-3/+3 * - Update to 1.4.romain2010-06-064-92/+76 * LICENSE GPLv2dinoex2010-06-041-0/+2 * Present KDE SC 4.4.4 for FreeBSD.makc2010-06-021-3/+3 * update xfce to 4.6.2oliver2010-05-313-3/+3 * - Update to my @FreeBSD.org addressuqs2010-05-312-5/+7 * Bounce PORTREVISION for gettext-related ports. Have fun, ya'll.ade2010-05-315-5/+5 * - drop USE_GNUSTEP_PREFIXdinoex2010-05-302-12/+11 * - update to 0.3dinoex2010-05-242-6/+5 * Remove needless LDCONFIG_DIRS from kde@ ports.makc2010-05-231-1/+0 * Update to 2.33wxs2010-05-182-4/+4 * - The FreeBSD KDE team is pleased to announce KDE SC 4.4.3 for FreeBSDfluffy2010-05-112-4/+3 * - Update to Xorg 7.5miwi2010-05-012-5/+4 * - update to 1.4.1dinoex2010-03-2820-19/+20 * Presenting KDE 4.3.5 for FreeBSD. The official release notes for thismiwi2010-02-072-4/+3 * - update to jpeg-8dinoex2010-02-0519-18/+19 * Change MAINTAINER address to romain@.romain2010-02-021-1/+1 * Drop USE_GCC=3.4 as it's no longer necessary.novel2010-01-221-1/+0 * bump PORTREVISION for the recent update ofoliver2010-01-103-3/+3 * - Update MASTER_SITES and WWW: linemiwi2010-01-054-33/+31 * - Update MASTER_SITES and WWW: linemiwi2010-01-055-27/+35 * - Update MASTER_SITES and WWW: linemiwi2010-01-055-48/+30 * For ports maintained by ports@FreeBSD.org, remove names and/ordougb2009-12-2110-22/+0 * The FreeBSD KDE is please to announce the release of KDE 4.3.4,miwi2009-12-021-3/+3 * The KDE FreeBSD team is proud to announce the release of KDE 4.3.3miwi2009-11-27