Commits

Ruslan Osmanov committed c8fb0f9

Fix: double redirection in client.php example

  • Participants
  • Parent commits 44a561e

Comments (0)

Files changed (1)

File examples/ssl-echo-server/client.php

     	printf("----- data ----\n");
     	printf("%ld:\t%s\n", (int) $in->length, $in->pullup(-1));
 
-		$bev->writeBuffer($in);
-
 		$this->bev->free();
 		$this->bev = NULL;
-		$this->base->exit();
+		$this->base->exit(NULL);
 	}
 
 	// This callback is invoked when some even occurs on the event listener,