Commit Graph

190 Commits

Author SHA1 Message Date
BrennanConroy 2cf020103a Update to new corefx packages (#486) 2017-12-20 13:46:27 -08:00
pan-wang 30bbd87d81 Panwang/refactor (#277)
* Init check in for refactoring

* clean up to make app_offline work

* update loadassembly and build

* add configpath to aspnetcore_config to make recycle work

* Adds in process component to refactor (#249)

* outprocess first checkin (still missing marjor components)

* Adds In-Process support for shimmed module. (#257)

* Init check in for refactoring

* clean up to make app_offline work

* update loadassembly and build

* add configpath to aspnetcore_config to make recycle work

* Adds in process component to refactor (#249)

* outprocess first checkin (still missing marjor components)

* Adds In-Process support for shimmed module. (#257)

* load from bin start and catch unhandled exception

* Fixes request handler vcxproj

* Adds request handler to nuget package

* build issues

* outofprocess refactoring

* adding logging support

* enforce Warning As Error for build and enable process recycle for outofprocess

* fix AV for win32 build and update build flags

* Fixed m_srwLock lock issue

* remove dealock in loadmanagedapp and remove UseMFC

* Readd lost exception catching

* nuget package issue and status code

* fixing warnings

* Adds Headers

* removing web sockets exe for now

* remove flags

* nuspec stuff

* spelling

* only look in inetsvr for now (or same folder)

* rename method

* terminte thread before closing the handle to it

* couple changes related with AV

* null check and Kill thread for in process if dotnet timed out

* fix recursive lock issue reported by appverifier

* client disconnect support AV fix

* flow 502.5 process start failure error page

* Feedback from inperson code review
2017-12-20 13:46:27 -08:00
Justin Kotalik 8949f49637 merged 2017-12-07 18:55:29 -08:00
Justin Kotalik 85ea220c4e
Fixes dotnet.exe string as runtime now reads it (#246) 2017-11-16 15:05:32 -08:00
pan-wang 9e345ad43f
fix build issue (#248) 2017-11-15 21:59:54 -08:00
Pavel Krymets b8c3d26975
Migrate to new pipe APIs (#454) 2017-11-13 15:06:22 -08:00
Justin Kotalik 82e096c9a5
Adds windows auth support (#241) 2017-11-10 17:07:56 -08:00
Justin Kotalik 552163ab77
Adds windows Auth support (#471) 2017-11-10 17:02:31 -08:00
Justin Kotalik 9c065bf107
Remove header serialization in favor of setting IIS response directly. (#465) 2017-11-06 20:28:40 -08:00
Justin Kotalik 6bfcd4a2d4
Remove header serialization in favor of setting IIS response directly. (#228) 2017-11-06 20:28:08 -08:00
George Chakhidze c315b27ad9 Fix the uninitialized g_hWinHttpModule global variable to avoid empty error messages (#225) 2017-11-06 10:16:08 -08:00
David Fowler 08186bb198
Use ipv4 when binding to ANCM port (#470)
- Today we use localhost which binds to both the ipv4 and ipv6 addresses.
ANCM never communicates over ipv6 so it's pointless. This should also properly crash
the process if the ipv4 address fails to bind (which we've seen reports in real applications for).
2017-11-03 10:24:41 -07:00
Justin Kotalik a42c8a33b8
Return FINISH_REQUEST on request failure (#469) 2017-11-01 15:48:04 -07:00
Nate McMaster bcc10d3012 Pin tool and package versions to make builds more repeatable
Part of aspnet/Universe#575
2017-11-01 14:59:02 -07:00
pan-wang 2cd59f86c4
client disconnect change (#223) 2017-10-30 10:35:56 -07:00
Justin Kotalik 9c5d38a786 Expose VirtualDirectory to In Process mode (#210) 2017-10-25 12:35:47 -07:00
Justin Kotalik 94c895a1bd Parse Path and PathBase from Virtual Directory. (#457) 2017-10-25 12:35:13 -07:00
Justin Kotalik bd62aa88d7 React to ANCM OnAsyncCompletion changes (#447) 2017-10-25 11:46:55 -07:00
Justin Kotalik 332b108f41 Changes PostCompletion to handle OnAsyncCompletion after managed request has completed. (#212) 2017-10-25 11:46:34 -07:00
pan-wang bfb2c86cda moving export methods to a standalone file (#211) 2017-10-23 16:26:15 -07:00
pan-wang c845a331bb adding forwarding end freb event (#209) 2017-10-23 15:28:48 -07:00
pan-wang 448a2afed8 fix the AV in recycle process, issue #192. (#201)
* fix the AV in recycle process. this is due to we call Recycle again when the background thread exists

* more fixes

* reset hosting mode when all applications got removed
2017-10-21 13:40:45 -07:00
Justin Kotalik 68014a7acd Changes async calls to use OnAsyncComplete event pattern (#184) 2017-10-17 16:06:59 -07:00
pan-wang 7117147a09 adding FREB and more ETW log (#185)
* adding FREB log and more ETW logs

* add missing aspnetcore_event.h file from previous commit

* Update aspnetcore_event.h

change provide id as 0x8000 is used by cors
2017-10-17 14:43:31 -07:00
Justin Kotalik f91a941f8d Moves in-process to UseIISIntegration, removes Server.IIS namespace (#443) 2017-10-06 09:52:42 -07:00
pan-wang 746f578c3c Panwang/inproc (#174)
refactoring the code to support inprocess (step 1) with app_offline and Graceful shutdown support
2017-10-04 17:35:11 -07:00
Justin Kotalik ea7bc30dd3 Avoid AV if schema change doesn't exist. (#177) 2017-10-03 14:21:39 -07:00
Justin Kotalik 9dc69fe361 Adds support for ANCM in process (#425) 2017-10-02 16:01:46 -07:00
Justin Kotalik f130330db8 Updating Xunit and dotnet versions (#143) 2017-09-25 15:10:31 -07:00
Justin Kotalik 2e540341db Adds in-process mode to ANCM. (#152) 2017-09-20 16:09:56 -07:00
Chris Ross (ASP.NET) 1e1e89b457 logging/#543 Clear HttpContext.User when the user is disposed. 2017-09-19 15:55:14 -07:00
Justin Kotalik 5c2906a7c6 [WIP] Fixing win7 compilation issues. (#141) 2017-09-13 14:40:00 -07:00
pan-wang a732b106f5 Fix websocket close handshake issue and race condition when websocket client disconnect without close handshake (#151) 2017-09-11 18:44:15 -07:00
Justin Kotalik 509ddc6ced Adds ANCM in-process flag. (#144) 2017-09-11 15:30:54 -07:00
Luke Latham 6b8449f491 Sortable log files with stdoutLogFile (#131)
Fixes #130
2017-08-30 14:33:30 -07:00
Nate McMaster 1297798546 Use PackageLineup to manage PackageReference versions 2017-08-29 11:38:56 -07:00
Nate McMaster 5cf936d3cd Use Directory.Build.props/targets 2017-08-29 11:36:17 -07:00
pan-wang 93b37e14db fix websocket connection issue and some memory leak, and add debug print (#129) 2017-08-04 14:51:15 -07:00
Chris R 5753784ac4 #391 Add back the DisplayName setting 2017-07-13 11:22:38 -07:00
pan-wang 002c8b9bc9 Adding shutdown http message to support the scenario that ctrl signal is not allowed (#118) 2017-07-10 14:55:15 -07:00
Chris R c8bbbe764a #395 Add baseline and breaking change files 2017-07-10 09:41:31 -07:00
Chris R 2e2dc67978 #390 Add back AutomaticAuthentication for opt-out. 2017-07-07 11:28:57 -07:00
Hao Kung 824051cb28 React to auth 2017-06-29 16:29:00 -07:00
John Luo 5155456653 Handle graceful shutdown from ANCM 2017-06-27 13:20:21 -07:00
pan-wang 6b411adbd0 revert the preserve host header change as it failed on Antares (#114) 2017-06-21 16:48:38 -07:00
pan-wang cee4cf7544 Antares blocks some windows APIs. We have use socket instead of calli… (#109)
* Antares blocks some windows APIs. We have use socket instead of calling GetExtendedTcpTable to check whether the backend is listening on given port.

* Use socket instead of calling GetExtendedTcpTable to check if the backend process listens on given port since Antares blocks couple APIs

* Antares blocks some windows APIs. We have use socket instead of calling GetExtendedTcpTable

* update format

* format change
2017-06-12 19:41:12 -07:00
Pranav K c267d192d6 Remove usage of TaskCache 2017-06-08 11:46:50 -07:00
Chris R 448e6787e2 Fix auth enabled check 2017-06-07 15:43:24 -07:00
Stephen Halter 6717f1674f Merge branch 'rel/2.0.0-preview2' into dev 2017-06-06 16:03:42 -07:00
Stephen Halter 89057003b3 Check IHttpMaxRequestBodySizeFeature.IsReadOnly (#379) 2017-06-06 16:02:36 -07:00