[Red5commits] [2253] headers must be set after connecting
jbauch
luke at codegent.com
Tue Aug 28 16:20:20 PDT 2007
headers must be set after connecting
Timestamp: 08/28/07 18:05:30 EST (less than one hour ago)
Change: 2253
Author: jbauch
Files (see diff or trac for details):
java/server/trunk/swf/DEV_Source/classes/org/red5/samples/echo/EchoTest.as
Trac: http://mirror1.cvsdude.com/trac/osflash/red5/changeset/2253
Index: /java/server/trunk/swf/DEV_Source/classes/org/red5/samples/echo/EchoTest.as
===================================================================
--- /java/server/trunk/swf/DEV_Source/classes/org/red5/samples/echo/EchoTest.as (revision 2228)
+++ /java/server/trunk/swf/DEV_Source/classes/org/red5/samples/echo/EchoTest.as (revision 2253)
@@ -216,5 +216,4 @@
temp12.push(temp11);
testParams.push(temp12);
-
// Create responder for result and error handlers
responder = new Responder( onRemotingResult, onRemotingError );
@@ -256,4 +255,5 @@
echoService.endpoint = null;
//
+ nc.connect( url );
if ( username_txt.text.length > 0 ) {
nc.addHeader("Credentials", false, {username: username_txt.text, password: password_txt.text});
@@ -262,5 +262,4 @@
//
printText( "</b>..." );
- nc.connect( url );
if (protocol == "http") {
Note:
Diffs are chopped if more than 25k.
This is to get past the limit on the mailing list.
More information about the Red5commits
mailing list