@@ -2634,8 +2634,6 @@ function ($data) use (&$buffer) {
26342634 $ server ->listen ($ this ->socket );
26352635 $ this ->socket ->emit ('connection ' , array ($ this ->connection ));
26362636
2637- $ data = "GET / HTTP/1.0 \r\n\r\n" ;
2638-
26392637 $ data = $ this ->createGetRequest ();
26402638
26412639 $ this ->connection ->emit ('data ' , array ($ data ));
@@ -2665,8 +2663,6 @@ function ($data) use (&$buffer) {
26652663 $ server ->listen ($ this ->socket );
26662664 $ this ->socket ->emit ('connection ' , array ($ this ->connection ));
26672665
2668- $ data = "GET / HTTP/1.0 \r\n\r\n" ;
2669-
26702666 $ data = $ this ->createGetRequest ();
26712667
26722668 $ this ->connection ->emit ('data ' , array ($ data ));
@@ -2698,8 +2694,6 @@ function ($data) use (&$buffer) {
26982694 $ server ->listen ($ this ->socket );
26992695 $ this ->socket ->emit ('connection ' , array ($ this ->connection ));
27002696
2701- $ data = "GET / HTTP/1.0 \r\n\r\n" ;
2702-
27032697 $ data = $ this ->createGetRequest ();
27042698
27052699 $ this ->connection ->emit ('data ' , array ($ data ));
@@ -2731,8 +2725,6 @@ function ($data) use (&$buffer) {
27312725 $ server ->listen ($ this ->socket );
27322726 $ this ->socket ->emit ('connection ' , array ($ this ->connection ));
27332727
2734- $ data = "GET / HTTP/1.0 \r\n\r\n" ;
2735-
27362728 $ data = $ this ->createGetRequest ();
27372729
27382730 $ this ->connection ->emit ('data ' , array ($ data ));
@@ -2761,8 +2753,6 @@ function ($data) use (&$buffer) {
27612753 $ server ->listen ($ this ->socket );
27622754 $ this ->socket ->emit ('connection ' , array ($ this ->connection ));
27632755
2764- $ data = "GET / HTTP/1.0 \r\n\r\n" ;
2765-
27662756 $ data = $ this ->createGetRequest ();
27672757
27682758 $ this ->connection ->emit ('data ' , array ($ data ));
@@ -2795,8 +2785,6 @@ function ($data) use (&$buffer) {
27952785 $ server ->listen ($ this ->socket );
27962786 $ this ->socket ->emit ('connection ' , array ($ this ->connection ));
27972787
2798- $ data = "GET / HTTP/1.0 \r\n\r\n" ;
2799-
28002788 $ data = $ this ->createGetRequest ();
28012789
28022790 $ this ->connection ->emit ('data ' , array ($ data ));
@@ -2830,8 +2818,6 @@ function ($data) use (&$buffer) {
28302818 $ server ->listen ($ this ->socket );
28312819 $ this ->socket ->emit ('connection ' , array ($ this ->connection ));
28322820
2833- $ data = "GET / HTTP/1.0 \r\n\r\n" ;
2834-
28352821 $ data = $ this ->createGetRequest ();
28362822
28372823 $ this ->connection ->emit ('data ' , array ($ data ));
@@ -2915,8 +2901,6 @@ function ($data) use (&$buffer) {
29152901 $ server ->listen ($ this ->socket );
29162902 $ this ->socket ->emit ('connection ' , array ($ this ->connection ));
29172903
2918- $ data = "GET / HTTP/1.0 \r\n\r\n" ;
2919-
29202904 $ data = $ this ->createGetRequest ();
29212905
29222906 $ this ->connection ->emit ('data ' , array ($ data ));
0 commit comments