init: import production code mss.nahaichuan.com (exclude Runtime/Uploads/backups/logs)
这个提交包含在:
29
vendor/guzzlehttp/guzzle/docs/getting-started/faq.rst
vendored
可执行文件
29
vendor/guzzlehttp/guzzle/docs/getting-started/faq.rst
vendored
可执行文件
@@ -0,0 +1,29 @@
|
||||
===
|
||||
FAQ
|
||||
===
|
||||
|
||||
What should I do if I get this error: Fatal error: Maximum function nesting level of '100' reached, aborting!
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
|
||||
You could run into this error if you have the XDebug extension installed and you execute a lot of requests in
|
||||
callbacks. This error message comes specifically from the XDebug extension. PHP itself does not have a function
|
||||
nesting limit. Change this setting in your php.ini to increase the limit::
|
||||
|
||||
xdebug.max_nesting_level = 1000
|
||||
|
||||
[`source <http://stackoverflow.com/a/4293870/151504>`_]
|
||||
|
||||
How can I speed up my client?
|
||||
-----------------------------
|
||||
|
||||
There are several things you can do to speed up your client:
|
||||
|
||||
1. Utilize a C based HTTP message parser (e.g. ``Guzzle\Parser\Message\PeclHttpMessageParser``)
|
||||
2. Disable operation validation by setting the ``command.disable_validation`` option to true on a command
|
||||
|
||||
Why am I getting a 417 error response?
|
||||
--------------------------------------
|
||||
|
||||
This can occur for a number of reasons, but if you are sending PUT, POST, or PATCH requests with an
|
||||
``Expect: 100-Continue`` header, a server that does not support this header will return a 417 response. You can work
|
||||
around this by calling ``$request->removeHeader('Expect');`` after setting the entity body of a request.
|
||||
在新工单中引用
屏蔽一个用户