- rm dbg outpu
[m6w6/ext-http] / php_http_std_defs.h
index f85198344526459e7aa2dab1d04c9caa627a8de8..cf3e15fe97b07c251e6a8910c33049accc98684e 100644 (file)
@@ -93,10 +93,7 @@ typedef int STATUS;
        }
 
 /* function accepts no args */
-#define NO_ARGS \
-       if (ZEND_NUM_ARGS()) { \
-               zend_error(E_NOTICE, "Wrong parameter count for %s()", get_active_function_name(TSRMLS_C)); \
-       }
+#define NO_ARGS zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "");
 
 /* CR LF */
 #define HTTP_CRLF "\r\n"
@@ -111,7 +108,7 @@ typedef int STATUS;
 #define HTTP_URL_ARGSEP "&"
 
 /* send buffer size */
-#define HTTP_SENDBUF_SIZE 40960
+#define HTTP_SENDBUF_SIZE 8000 /*40960*/
 
 /* CURL buffer size */
 #define HTTP_CURLBUF_SIZE 16384