Pavel Krymets
7a14be006d
Fast reads
2018-04-09 15:16:47 -07:00
Pavel Krymets
5e5aa90575
Remove continue with
2018-04-09 14:26:28 -07:00
Pavel Krymets
0feb83b637
Dont format some things
2018-04-09 12:10:32 -07:00
Pavel Krymets
dca31cc6f6
Perf
2018-04-09 10:34:44 -07:00
Pavel Krymets
8f1781f7eb
Cleanup LogEvent calls
2018-04-08 19:21:55 -07:00
Justin Kotalik
47c7c1ad8f
Disable global loading of RequestHandler for in-process ( #732 )
2018-04-05 10:36:15 -07:00
Pavel Krymets
5210323385
Merge release/2.1 into dev
2018-04-03 10:11:36 -07:00
Pavel Krymets
6ca61a8fc7
Merge release/2.1 to dev
2018-03-30 16:33:44 -07:00
pan-wang
731f05df38
call exit to force shutdown in case of timeout ( #726 )
2018-03-23 15:19:00 -07:00
John Luo
26578f5079
Reenable API check
2018-03-23 15:01:50 -07:00
Pavel Krymets
ed801f0e88
Do not return 200 for exceptions
2018-03-22 16:43:11 -07:00
Justin Kotalik
f1058f8575
Cleanup ReadAsync calls, make IISHttpContext private ( #696 )
2018-03-22 11:13:06 -07:00
Nate McMaster
d61d723cba
Update package metadata to include commit hash ( #713 )
2018-03-21 17:42:18 -07:00
pan-wang
ffeebfc8b9
support shutdown timeout for inprocess application ( #703 )
2018-03-21 13:37:26 -07:00
pan-wang
5baa53393f
fixing fowarding handler for AsyncCompletion ( #669 )
...
to make sure ANCM does not release IIS pipeline until all WinHttp handlers get closed.
2018-03-20 15:56:16 -07:00
Pavel Krymets
f1d8ca3045
Add CommitHash to file info ( #700 )
2018-03-20 09:20:37 -07:00
pan-wang
2bb9a8aaf9
Adding handlerSettings configuration to aspnetcore schema for future use ( #689 )
2018-03-19 15:30:55 -07:00
Justin Kotalik
cf4874997e
Heap allocate HTTP_DATA_CHUNK if the size of the response is too large. ( #683 )
2018-03-16 16:56:23 -07:00
Ryan Brandenburg
ca15b2fbf6
Set 2.0 baselines
2018-03-16 10:50:27 -07:00
Justin Kotalik
5e74b36c53
Verify read/write buffers, use offset parameter when reading. ( #652 )
2018-03-16 10:11:20 -07:00
Justin Kotalik
8ff9ce70c9
Fixes spelling ( #679 )
2018-03-16 09:27:40 -07:00
pan-wang
e5661a46b7
do cleanup inside inprocessapplication destrutor ( #676 )
2018-03-15 16:47:21 -07:00
pan-wang
8e54e792fb
do shutdown check before processing request ( #677 )
2018-03-15 16:46:50 -07:00
Pavel Krymets
3ef9dd1640
Fix http_stop_calls_into_managed typo ( #673 )
2018-03-15 15:59:57 -07:00
pan-wang
9d064b24c7
enable debug print in aspnetcore.dll ( #663 )
2018-03-14 14:29:25 -07:00
Justin Kotalik
810c4bcb0a
Fix two AVs with InProcess ( #656 )
2018-03-13 16:07:55 -07:00
pan-wang
d246c6f201
add port info to event log ( #660 )
2018-03-13 16:06:01 -07:00
pan-wang
7a511d6a94
websocket handler changes ( #661 )
...
add debug logging and reset connection in case of failure
2018-03-13 16:05:32 -07:00
pan-wang
02abb69cb2
fix missing reference/dereference handler ( #651 )
2018-03-10 09:50:48 -08:00
pan-wang
0b07894ea7
fix srwlock initialize ( #647 )
2018-03-09 11:47:54 -08:00
Justin Kotalik
cb49b98b6f
Follow windows conventions for file versions ( #646 )
2018-03-08 16:28:27 -08:00
Pavel Krymets
77c5d2a971
Update to new corefx ( #642 )
2018-03-08 14:23:16 -08:00
pan-wang
8dca8f030c
moving recycle and shutdown to applicationinfo ( #639 )
...
fix a race condition in processing request and app_offline, and optimize code logic
2018-03-08 12:24:25 -08:00
Justin Kotalik
ad82bd31d8
Fix argument parsing for hostfxr, add native unit tests. ( #635 )
2018-03-08 11:53:12 -08:00
Justin Kotalik
00b1948937
Adds websocket feature detection, test cleanup. ( #624 )
2018-03-08 09:52:45 -08:00
Justin Kotalik
ad4b172660
Remove build warnings and turn on warning as errors in IISLib. ( #641 )
2018-03-07 21:15:57 -08:00
Justin Kotalik
4eea754dc3
Don't create std log file for out of process when logs are disabled ( #640 )
2018-03-07 16:12:50 -08:00
pan-wang
419ae06935
fixing double locking issue ( #637 )
2018-03-07 12:02:04 -08:00
pan-wang
f32addd408
Update RecycleApplication function ( #634 )
...
removing hostingmodel input from recycleapplication call and fix memory leak in recycle out of process application
2018-03-07 11:45:51 -08:00
pan-wang
0e28f34c1a
Add general logging event to be used by the RequestHandler ( #633 )
2018-03-06 21:18:49 -08:00
pan-wang
c833e7b994
change the logic on handling configuration change and adds shutdown logic ( #610 )
2018-03-06 16:47:02 -08:00
Justin Kotalik
4e8a9d2493
Move reading and writing of Pipelines to a single loop; Cancel Read every time we write. ( #582 )
2018-03-04 19:52:41 -08:00
pan-wang
cbffeb33ea
fixing a stress issue ( #619 )
2018-03-02 17:34:09 -08:00
pan-wang
17dd3e85cb
fix missing event log descriptions ( #622 )
2018-03-01 20:53:57 -08:00
Pavel Krymets
2dac2e34fa
Reac to pipes in corefx ( #618 )
2018-02-28 12:42:09 -08:00
pan-wang
fcbe74fbf1
fix coding guideline issue. Use BOOL instead of bool ( #620 )
2018-02-28 12:02:15 -08:00
pan-wang
71b90a31a9
websocket enabled check ( #612 )
2018-02-27 11:28:27 -08:00
pan-wang
792b72e71a
adding error description which was commented out previously ( #613 )
2018-02-27 09:41:09 -08:00
pan-wang
dc62b9ba38
adding mof file for freb log ( #603 )
2018-02-22 11:14:29 -08:00
Justin Kotalik
4775706bbc
Add version numbers on aspnetcore.dll and aspnetcorerh.dll, remove unnecessary files ( #601 )
2018-02-22 10:03:51 -08:00
pan-wang
782b563a58
fixing empty logfile name in event log ( #602 )
...
Empty log file path was logged as we reset the stru too earlier. Changing the code order
2018-02-21 14:08:26 -08:00
Justin Kotalik
21b1febf2b
Adds environment variable feature for inprocess ( #583 )
2018-02-21 12:36:39 -08:00
pan-wang
1f6e2c8029
grant the config setting on 502.5 page setting ( #600 )
...
grant the config setting on 502.5 page setting
2018-02-21 11:27:48 -08:00
pan-wang
e3d3b088ae
adding logging for outprocess start and application recycle ( #573 )
...
adding logging for outprocess start and application recycle
2018-02-21 10:58:34 -08:00
Justin Kotalik
ff496ca580
Fix absolute paths to dotnet ( #597 )
2018-02-20 15:03:37 -08:00
Justin Kotalik
c395db12e6
Fix path searching for where.exe and request handler parsing ( #595 )
2018-02-20 08:10:13 -08:00
Justin Kotalik
87c3ca4752
Send stderr logs to anonymous pipe instead of file when logging is disabled. ( #549 )
2018-02-15 18:43:06 -08:00
Justin Kotalik
4ca45d951f
Increment index by 1 as indexOf is inclusive when searching for dotnet.exe ( #589 )
2018-02-14 15:28:15 -08:00
Justin Kotalik
9162ab3436
Default to using program files if where.exe doesn't find dotnet.exe ( #578 )
2018-02-06 12:12:23 -08:00
Justin Kotalik
e035d0ed96
Fail fast on .NET Full Framework and log exceptions in hostfxr utility ( #533 )
2018-02-04 20:54:12 -08:00
Justin Kotalik
462c1c042a
Merge remote-tracking branch 'origin/release/2.1' into dev
2018-02-02 16:23:54 -08:00
Justin Kotalik
5465216be9
React to hostfxr api changes ( #577 )
2018-02-02 16:07:51 -08:00
Pavel Krymets
ddf3e948ad
Merge release/2.1
2018-01-30 09:54:23 -08:00
Pavel Krymets
bc1a60704b
React to pipeline changes ( #570 )
2018-01-29 14:35:22 -08:00
Nate McMaster
011cf720e6
Add IServerVariablesFeature
...
Enables fetching variables directly from IIS when using in-process
hosting. This is not available for out-of-process hosting.
Other changes:
- Update tests to only run if IIS Express has been updated to support
the new schema for hostingModel
- Add a simpler test fixture for in-proc testing
2018-01-29 12:51:26 -08:00
Justin Kotalik
6f54ed1c68
Merge pull request #560 from aspnet/release/2.1
2018-01-26 12:50:45 -08:00
Justin Kotalik
85ec92012a
Remove AspNetCoreHostingModelProperty ( #561 )
2018-01-26 10:25:05 -08:00
Justin Kotalik
2181fdc943
Invoke where.exe to find dotnet.exe ( #559 )
2018-01-26 10:16:05 -08:00
Justin Kotalik
06348dded7
Change request timeout validation to 1 second. ( #546 )
2018-01-24 17:18:23 -08:00
pan-wang
d61a4ca89f
some fix for handling configuration change and recycling ( #539 )
2018-01-24 15:21:09 -08:00
Justin Kotalik
3d167c1e6c
Run http request on separate thread. ( #545 )
2018-01-23 14:56:47 -08:00
Sourabh Shirhatti
10f0f7b2ee
Add project capability for inproc hosting ( #532 )
2018-01-23 14:05:27 -08:00
Justin Kotalik
6b4673bbdc
Fixes bitness alignment issue for 32bit ( #527 )
2018-01-19 17:39:42 -08:00
Justin Kotalik
d7d502a04c
Free stdout after app closes ( #535 )
2018-01-19 15:52:21 -08:00
pan-wang
d85ed094aa
gracefully shutdown the filewatcher thread ( #530 )
2018-01-19 14:31:51 -08:00
Justin Kotalik
2204989660
Always load hostfxr parameters if the app isn't loaded ( #529 )
2018-01-19 09:59:04 -08:00
Justin Kotalik
694411f79e
Fixing a typo ( #279 ) ( #523 )
2018-01-18 13:50:34 -08:00
Justin Kotalik
ab7ec622ef
Make paths absolute for in-process, fix relative path check ( #513 )
2018-01-17 16:43:49 -08:00
pan-wang
7b65bdb6ef
Panwang/addinglog ( #508 )
...
* adding windows event log
* adding windows event log
* fix a wrong bool variable
* some updates
* fix bad merge
2018-01-16 17:21:47 -08:00
Justin Kotalik
ee6256d941
Update sample to use aspnetcore.dll and aspnetcorerh.dll ( #512 )
2018-01-08 12:02:58 -08:00
Nate McMaster
48ed4a6997
Package aspnetcorerh in Microsoft.AspNetCore.Server.IIS
2018-01-08 10:15:06 -08:00
Justin Kotalik
c3bc6fed9c
Adds RequestHandler dll and hostfxr changes from ANCM ( #497 )
2018-01-04 10:07:00 -08:00
Pavel Krymets
8cedb4eff3
React to pipeline changes ( #503 )
2018-01-04 10:01:16 -08:00
Justin Kotalik
5d8670243c
Use location of aspnetcore.dll rather than the activating process. ( #500 )
2018-01-03 11:49:43 -08:00
Justin Kotalik
119dee607b
Remove use of Dangerous Span calls for MemoryMarshal ( #501 )
2018-01-02 13:59:49 -08:00
Justin Kotalik
d59b0ef38c
Adds universe manifest and signing info
2017-12-29 12:48:01 -08:00
Murat Girgin
4e568c9266
Fixing a typo ( #279 )
2017-12-29 12:48:01 -08:00
Justin Kotalik
f27190a1f1
Adds InProcessHandler to calls, Refactor to remove IHttpContext completely
2017-12-22 13:36:34 -08:00
ASP.NET CI
fa9d7a7e8c
Update dependencies.props
...
[auto-updated: dependencies]
2017-12-20 13:46:28 -08:00
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