|
@@ -10,11 +10,11 @@ debug=3 # debug level (cmd line: -dddddddddd)
|
|
|
fork=yes
|
|
|
log_stderror=no # (cmd line: -E)
|
|
|
|
|
|
-/* Uncomment these lines to enter debugging mode */
|
|
|
+/* Uncomment these lines to enter debugging mode
|
|
|
debug=7
|
|
|
fork=no
|
|
|
log_stderror=yes
|
|
|
-/**/
|
|
|
+*/
|
|
|
|
|
|
check_via=no # (cmd. line: -v)
|
|
|
dns=no # (cmd. line: -r)
|
|
@@ -76,8 +76,13 @@ route{
|
|
|
break;
|
|
|
};
|
|
|
|
|
|
- # Do strict routing if pre-loaded route headers present
|
|
|
- rewriteFromRoute();
|
|
|
+ # we record-route all messages -- to make sure that
|
|
|
+ # subsequent messages will go through our proxy; that's
|
|
|
+ # particularly good if upstream and downstream entities
|
|
|
+ # use different transport protocol
|
|
|
+ record_route();
|
|
|
+ # loose-route processing
|
|
|
+ loose_route();
|
|
|
|
|
|
# if the request is for other domain use UsrLoc
|
|
|
# (in case, it does not work, use the following command
|
|
@@ -102,7 +107,8 @@ route{
|
|
|
break;
|
|
|
};
|
|
|
};
|
|
|
- # forward to current uri now
|
|
|
+ # forward to current uri now; use stateful forwarding; that
|
|
|
+ # works reliably even if we forward from TCP to UDP
|
|
|
if (!t_relay()) {
|
|
|
sl_reply_error();
|
|
|
};
|