-
Type:
Bug
-
Resolution: Fixed
-
None
-
Affects Version/s: None
-
Component/s: Main back-end mechanisms (Worker, Logging, etc.)
-
Emptyshow more show less
Currently the TriggerByHttp fsockopen does not wait on the server answer.
For debugging this is really bad.
We should change this behavior so that it reads the first X bytes to get the header and therefore the HTTP status which would help very much. (For example for the 401 problem). That means if not Status 2XX log this.
To achieve this, we must ensure that the triggered WorkerController methods send their headers before the do their work.