From: rettenbe Date: Tue, 5 Aug 2008 14:56:21 +0000 (+0000) Subject: bugfix: 10 sec timeout while server-server communication, forward_to_gosa-tag was... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fa263e5cb3a9bbb4af27c89c3b1181511e7ff0da;p=gosa.git bugfix: 10 sec timeout while server-server communication, forward_to_gosa-tag was maltreaded git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12157 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/modules/GosaPackages.pm b/gosa-si/modules/GosaPackages.pm index 814a7c05f..787b7ce00 100644 --- a/gosa-si/modules/GosaPackages.pm +++ b/gosa-si/modules/GosaPackages.pm @@ -129,13 +129,6 @@ sub process_incoming_msg { $out_msg =~ s/GOSA<\/source>/$act_server_ip:$main::server_port<\/source>/g; } - # Patch the correct outgoing forward_to_gosa address - #if ($out_msg =~ /(\S+),(\d+)<\/forward_to_gosa>/ ) { - # $out_msg =~ s/\S+<\/forward_to_gosa>/$act_server_ip:$main::server_port,$session_id<\/forward_to_gosa>/; - #} else { - # $out_msg =~ s/<\/xml>/$act_server_ip:$main::server_port,$session_id<\/forward_to_gosa> <\/xml>/; - #} - # Add to each outgoing message the current POE session id $out_msg =~ s/<\/xml>/$session_id<\/session_id><\/xml>/; @@ -184,7 +177,7 @@ sub process_gosa_msg { # client is registered for this event, deliver this message to client if ($client_events =~ /,$header,/) { - &daemon_log("$session_id INFO: client '$target' is registerd for event '$header', forward message to client.", 5); + &main::daemon_log("$session_id INFO: client '$target' is registerd for event '$header', forward message to client.", 5); @out_msg_l = ( $msg ); # client is not registered for this event, set error