You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using your class to implement a queue which will run one job per process and then loop on itself by making a remote non blocking call.
I was facing an issue that was very painful to debug because Apache was simply dropping the request with the following message: POST /wp-admin/admin-post.php HTTP/1.1" 400 306 "-" "-" "Size of a request header field exceeds server limit.<br />\n<pre>\ncookie\n</pre>/n
I am using your class to implement a queue which will run one job per process and then loop on itself by making a remote non blocking call.
I was facing an issue that was very painful to debug because Apache was simply dropping the request with the following message:
POST /wp-admin/admin-post.php HTTP/1.1" 400 306 "-" "-" "Size of a request header field exceeds server limit.<br />\n<pre>\ncookie\n</pre>/n
I our case we forward cookies from one async call to another. The fact that you serialize the $_COOKIE value that are arrays, https://github.com/techcrunch/wp-async-task/blob/master/wp-async-task.php#L132, results in a header size that keeps increasing:
%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C%5C
...Any reason you added this serialization? Does not seem to be handled natively by WP, right?
Do you think of a serialization that would scale in our case? For now we just ignore non string values, which is sufficient.
Great lib, keep it up!
The text was updated successfully, but these errors were encountered: