[Red5commits] [914] backported fix from trunk for Trac #26

jbauch luke at codegent.com
Tue Jun 20 04:12:58 EDT 2006


backported fix from trunk for Trac #26


Timestamp: 06/09/06 07:26:06 (2 weeks ago) 
Change: 914 
Author: jbauch

Files (see diff or trac for details): 
java/server/branches/red5-0_4-branch/src/org/red5/server/jetty/Red5WebPropertiesConfiguration.java


Trac: http://mirror1.cvsdude.com/trac/osflash/red5/changeset/914

Index: /java/server/branches/red5-0_4-branch/src/org/red5/server/jetty/Red5WebPropertiesConfiguration.java
===================================================================
--- /java/server/branches/red5-0_4-branch/src/org/red5/server/jetty/Red5WebPropertiesConfiguration.java (revision 749)
+++ /java/server/branches/red5-0_4-branch/src/org/red5/server/jetty/Red5WebPropertiesConfiguration.java (revision 914)
@@ -54,5 +54,8 @@
         			hostnames[i] = hostnames[i].trim();
         			if(hostnames[i].equals("*")){
-        				hostnames[i] = "";
+        				// A virtual host "null" must be used so requests for any host
+        				// will be served.
+        				hostnames = null;
+        				break;
         			}
         		}


Note:
Diffs are chopped if more than 30k.
This is to get past the limit on the mailing list.



More information about the Red5commits mailing list