Commit Graph

102 Commits

Author SHA1 Message Date
Pavel Krymets 26964b2687
Macrosify out-of-proc (#1268) 2018-08-21 14:11:34 -07:00
Justin Kotalik 2778570f0b
Redirect native logs into stdout and pipe (#1154) 2018-08-21 14:03:26 -07:00
Mike Harder 2d61889e5e
Support empty value for ASPNETCORE_PORT (#1280)
- Addresses #1264
2018-08-21 13:44:34 -07:00
Mike Harder cc4bbd1cef
Fix typos in portsetup error message (#1265) 2018-08-20 14:11:18 -07:00
Justin Kotalik a1e8b3a9af
Free environment variable table in inprocess application (#1254) 2018-08-17 16:29:30 -07:00
Justin Kotalik 5fc59b2331
Free ALLOC_CACHE_HANDLER on dll unload (#1253) 2018-08-17 14:26:53 -07:00
Pavel Krymets 6440545c4a
Add hosting model switch tests (#1245) 2018-08-15 16:47:47 -07:00
Justin Kotalik 0d91dde270
Dynamically link ucrt for release builds (#1230) 2018-08-14 12:32:39 -07:00
Pavel Krymets d725972355
Start adding configuration reload tests (#1212) 2018-08-13 13:02:57 -07:00
Pavel Krymets f1c1f82e8b
Fix is_regular_file again (#1218) 2018-08-13 10:32:39 -07:00
Pavel Krymets 36add746d7 General cleanup 2018-08-13 08:51:03 -07:00
Pavel Krymets 8361b8cfa9
Split handler resolution from application info (#1177) 2018-08-09 11:32:51 -07:00
Pavel Krymets dd429e9597
Catch exceptions thrown by is_regular_file (#1179) 2018-08-09 09:45:28 -07:00
Mike Harder 7431892e64
Replace "std::experimental::filesystem" with "std::filesystem" (#1153)
* Continuation of #1082
2018-08-07 16:37:11 -07:00
Pavel Krymets c6830afa55
Add default debug log file name and dll information to debug log (#1149) 2018-08-06 17:20:44 -07:00
Mike Harder 60a559719f
Reduce probability of startup port collisions (#1136)
- GetTickCount() is limited to the resolution of the system timer, which is typically 10-16 ms.  If two apps in separate app pools are started within this time window, it's possible GetTickCount() will return the same value, which causes the apps to try the same random port(s).
- Addresses #1124
2018-08-06 14:41:11 -07:00
Pavel Krymets 4e7cbb1931
Initialize logging under exclusive lock (#1161) 2018-08-06 12:30:58 -07:00
Pavel Krymets c2f5101b73
Split managed application status and IApplication status (#1148)
Split managed application status and IApplication status
2018-08-06 09:41:56 -07:00
Mike Harder d199de2c80
Revert "Replace "std::experimental::filesystem" with "std::filesystem" (#1153)"
This reverts commit 2a761d635c.
2018-08-03 15:44:35 -07:00
Mike Harder 2a761d635c
Replace "std::experimental::filesystem" with "std::filesystem" (#1153)
* Continuation of #1082
2018-08-03 14:04:32 -07:00
Pavel Krymets 477fd1d90d
Aquire exclusive lock when creating application info (#1142) 2018-08-02 13:17:17 -07:00
Mike Harder ff0a5bbbdf Update resources.h (#1134) 2018-07-31 19:21:32 -07:00
Pavel Krymets 5d4fedaeac
Remove extra logic from file watcher (#1107) 2018-07-30 14:37:33 -07:00
Justin Kotalik 41493f01e3
Don't stop redirect stdout/stderr after startup is done. (#1067) 2018-07-29 23:25:32 -07:00
Pavel Krymets 61b4473abe
Fix another shutdown race and appofline race (#1071) 2018-07-26 08:12:08 -07:00
Justin Kotalik 5bd475ef90
Add event logs for some startup failure cases (#1081) 2018-07-24 13:17:05 -07:00
Pavel Krymets fba4e3ec4e
Switch to non-experimental filesystem (#1082) 2018-07-23 08:57:43 -07:00
Justin Kotalik 256aed8369
Make IISExpress shutdown gracefully. (#1066) 2018-07-19 23:20:13 -07:00
Pavel Krymets 54471a2930
Add client abort tests (#1051) 2018-07-17 20:26:57 -07:00
Pavel Krymets 074264cd3a
Use less global variables (#1064) 2018-07-17 08:56:18 -07:00
Justin Kotalik c657e31b94
Fix Console invalid handle issues. (#1029) 2018-07-13 21:32:20 -07:00
Justin Kotalik b359d6bed1
Fix CI test failures (#1045) 2018-07-13 11:35:52 -07:00
Justin Kotalik 36d7c8ec42
Add startup event log for ANCM inproc (#1047) 2018-07-12 16:03:06 -07:00
Pavel Krymets c81f379045
Normalize file extensions and project structures (#1038) 2018-07-12 09:30:50 -07:00
Justin Kotalik 385f647215
Allow debug log file to be specified in handler settings; move tests from IISExpress to shared. (#1033) 2018-07-11 18:29:36 -07:00
Pavel Krymets 9635d4fd8d
Cleanup compilation warnings and re-enable asserts (#1035) 2018-07-11 11:47:22 -07:00
Justin Kotalik 11b83dc2b3
Rename reg keys from IIS ANCM V1 to V2 (#1017) 2018-07-10 10:32:01 -07:00
Pavel Krymets 86fed4de5f
Fix shutdown race (#1031) 2018-07-10 10:18:32 -07:00
Pavel Krymets f7936ac062
Finish up appoffline refactoring (#1018) 2018-07-09 16:17:33 -07:00
Pavel Krymets 99ec23097e
Merge pull request #1015 from aspnet/pakrym/flush-sync
Sync native calls
2018-07-06 15:09:46 -07:00
Pavel Krymets 5f02de1e2c Test 2018-07-06 14:43:33 -07:00
Pavel Krymets 724cc3ce88
Only run fallback logic for dotnet and dotnet.exe (#1004) 2018-07-03 16:49:24 -07:00
Justin Kotalik 3efc1eede4
Set correct event providers for ANCM V2 (#1009) 2018-07-02 18:21:22 -07:00
Justin Kotalik 9b7ee92028
Check thread invalid handle and remove extra dup2 call. (#1008) 2018-07-02 17:18:05 -07:00
Justin Kotalik dfd75e939d
Add full IIS tests (#979) 2018-07-02 12:15:15 -07:00
Pavel Krymets 65d3787fc4
Pass parameters to createapplication method (#998) 2018-06-29 12:42:00 -07:00
Pavel Krymets dfed3d7563
Add and use GetEnvironmentVariableValue (#997) 2018-06-29 11:17:22 -07:00
Pavel Krymets f5f0988baf
Make handlerSettings optional (#989) 2018-06-29 08:44:03 -07:00
Pavel Krymets b84a233d39
Add ability to print debug logs to a file (#954) 2018-06-28 11:52:53 -07:00
Justin Kotalik 4a09d4795e
Use HandleWrapper and initialize variables for FileOutputManager (#986) 2018-06-28 09:09:34 -07:00