| Mantis - Resin | |||||
| Viewing Issue Advanced Details | |||||
|  | |||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: | 
| 5847 | minor | always | 01-20-15 11:29 | 04-01-15 16:35 | |
|  | |||||
| Reporter: | nam | Platform: | |||
| Assigned To: | alex | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 3.1.12 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 4.0.44 | ||
|  | |||||
| Summary: | 0005847: resin 3.1/4.0 isapi_srun logs 200 when unable to connect to backend | ||||
| Description: | (rep by N. Shinomiya) I'm using Resin3.1.12 via IIS. Both Resin and isapi_srun send 503 response when IIS can't connect Resin or Resin doesn't started, but 200 status is recorded in logs of IIS. isapi_srun.cpp: DWORD WINAPI HttpExtensionProc(EXTENSION_CONTROL_BLOCK *pECB) { if (cse_handle_request(g_config, pECB)) return HSE_STATUS_SUCCESS; else return HSE_STATUS_ERROR; } cse_handle_request() calls connection_error(), which in turn returns 1, signaling success. May need to call ServerSupportFunction (http://msdn.microsoft.com/en-us/library/ms526034(v=vs.90).aspx) [^] to set the proper response code. | ||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|  | |||||
| 
 | 
 | ||||