summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0b3ded7)
raw | patch | inline | side by side (parent: 0b3ded7)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 5 Aug 2008 14:46:47 +0000 (14:46 +0000) | ||
committer | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 5 Aug 2008 14:46:47 +0000 (14:46 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12156 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/modules/GosaPackages.pm | patch | blob | history |
index cd0716f2b8ecce71b3c6daf8f6b927de1fe11859..814a7c05f543c5dc63a6adf7ce26ab2affd567b3 100644 (file)
}
# Patch the correct outgoing forward_to_gosa address
- if ($out_msg =~ /<forward_to_gosa>(\S+),(\d+)<\/forward_to_gosa>/ ) {
- $out_msg =~ s/<forward_to_gosa>\S+<\/forward_to_gosa>/<forward_to_gosa>$act_server_ip:$main::server_port,$session_id<\/forward_to_gosa>/;
- } else {
- $out_msg =~ s/<\/xml>/<forward_to_gosa>$act_server_ip:$main::server_port,$session_id<\/forward_to_gosa> <\/xml>/;
- }
+ #if ($out_msg =~ /<forward_to_gosa>(\S+),(\d+)<\/forward_to_gosa>/ ) {
+ # $out_msg =~ s/<forward_to_gosa>\S+<\/forward_to_gosa>/<forward_to_gosa>$act_server_ip:$main::server_port,$session_id<\/forward_to_gosa>/;
+ #} else {
+ # $out_msg =~ s/<\/xml>/<forward_to_gosa>$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<\/session_id><\/xml>/;
# 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);
@out_msg_l = ( $msg );
# client is not registered for this event, set error