Changeset 158
- Timestamp:
- Sep 3, 2014, 1:27:23 PM (10 years ago)
- Location:
- binary-improvements
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/NetConnections/Servers/Web/ApiHandler.cs
r156 r158 26 26 resp.StatusCode = (int)HttpStatusCode.Forbidden; 27 27 } else { 28 try{29 foreach (KeyValuePair<string, WebAPI> kvp in apis){28 foreach (KeyValuePair<string, WebAPI> kvp in apis) { 29 try { 30 30 if (apiName.StartsWith (kvp.Key)) { 31 31 kvp.Value.HandleRequest (req, resp, user); 32 32 return; 33 33 } 34 } catch (Exception e) { 35 Log.Out ("Error in ApiHandler.HandleRequest(): Handler threw an exception: " + e); 36 resp.StatusCode = (int)HttpStatusCode.InternalServerError; 37 return; 34 38 } 35 } catch (Exception e) {36 resp.StatusCode = (int)HttpStatusCode.InternalServerError;37 39 } 38 40 } -
binary-improvements/bin/Release/7dtd-server-fixes_version.txt
r156 r158 1 Version: 0.91.5359.2 16301 Version: 0.91.5359.24216
Note:
See TracChangeset
for help on using the changeset viewer.