Changeset 96 for trunk/Packages/CoolWeb/WebServer/UHTTPServer.pas
- Timestamp:
- Oct 2, 2012, 9:22:02 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 5 5 backup 6 6 ZdechovNET.lps 7 heaptrclog.trc
-
- Property svn:ignore
-
trunk/Packages/CoolWeb/WebServer/UHTTPServer.pas
r84 r96 7 7 uses 8 8 Classes, SysUtils, UTCPServer, UCommon, UMemoryStreamEx, UMIMEType, 9 Synautil, SpecializedList, SpecializedDictionary ;9 Synautil, SpecializedList, SpecializedDictionary, Syncobjs; 10 10 11 11 type … … 102 102 procedure SetShowExceptions(const AValue: Boolean); 103 103 public 104 Lock: TCriticalSection; 104 105 procedure Run; virtual; 105 106 procedure ErrorResponse(HandlerData: THTTPHandlerData); … … 228 229 begin 229 230 inherited; 231 Lock := TCriticalSection.Create; 230 232 ShowExceptions := False; 231 233 DocumentRoot := './'; … … 234 236 destructor THTTPServer.Destroy; 235 237 begin 236 inherited Destroy; 238 FreeAndNil(Lock); 239 inherited; 237 240 end; 238 241
Note:
See TracChangeset
for help on using the changeset viewer.