Changeset 57:0d8b6cf41728 in ralphm-patches for router_unknown.patch


Ignore:
Timestamp:
Mar 28, 2012, 1:43:02 PM (10 years ago)
Author:
Ralph Meijer <ralphm@…>
Branch:
default
Message:

Wokkel 0.7.0 release, clean up various patches.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router_unknown.patch

    r54 r57  
    11# HG changeset patch
    2 # Parent 28a032eab8a5ffbc145aaec1f0044a2a9cad7058
     2# Parent 3d3065a425fa27c45c1f25aae8910f282f3049a4
    33Send back an error if there is no known route to the stanza's destination.
    44
     
    66component that acts as the default route (indexed by `None`).
    77
    8 diff -r 28a032eab8a5 wokkel/component.py
    9 --- a/wokkel/component.py       Wed Oct 05 09:38:30 2011 +0200
    10 +++ b/wokkel/component.py       Wed Oct 05 09:40:15 2011 +0200
    11 @@ -313,12 +313,25 @@
     8diff -r 3d3065a425fa wokkel/component.py
     9--- a/wokkel/component.py       Wed Mar 28 13:34:30 2012 +0200
     10+++ b/wokkel/component.py       Wed Mar 28 13:36:55 2012 +0200
     11@@ -332,12 +332,24 @@
    1212         """
    1313         destination = JID(stanza['to'])
     
    1616 
    1717         if destination.host in self.routes:
    18 +            msg = "Routing to %s (default route): %r"
    1918+            log.msg("Routing to %s: %r" % (destination.full(),
    2019+                                           stanza.toXml()))
Note: See TracChangeset for help on using the changeset viewer.