travis
[plcapi.git] / demo / server / proxy.php
index 6e791f4..a1b702e 100644 (file)
@@ -5,7 +5,7 @@
  * the originating server).
  *
  * @author Gaetano Giunta
- * @copyright (C) 2006-2015 G. Giunta
+ * @copyright (C) 2006-2020 G. Giunta
  * @license code licensed under the BSD License: see file license.txt
  */
 
@@ -74,6 +74,8 @@ function forward_request($req)
 }
 
 // run the server
+// NB: take care not to output anything else after this call, as it will mess up the responses and it will be hard to
+// debug. In case you have to do so, at least re-emit a correct Content-Length http header (requires output buffering)
 $server = new PhpXmlRpc\Server(
     array(
         'xmlrpcproxy.call' => array(