Changeset 96 for trunk/Packages/CoolWeb/WebServer/UHTTPServerTCP.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/UHTTPServerTCP.pas
r84 r96 44 44 begin 45 45 with TTCPClientThread(Sender), Socket do begin 46 WriteLn(' Used thrads' + IntToStr(Parent.ThreadPool.UsedCount) + '. Client connected from ' + GetRemoteSinIP);46 WriteLn('Thread ' + IntToStr(Id) + ' from ' + IntToStr(Parent.ThreadPool.UsedCount) + '. Client connected from ' + GetRemoteSinIP); 47 47 48 48 HandlerData := THTTPHandlerData.Create; … … 58 58 repeat 59 59 Line := RecvString(10000); 60 WriteLn(IntToStr(Id) + ' ' + Line); 60 61 if (LineIndex = 0) then begin 61 62 LineParts.Explode(Line, ' ', StrToStr); … … 115 116 // Send headers 116 117 for I := 0 to Headers.Count - 1 do begin 117 WriteLn(Headers.Keys[I] + ': ' + Headers.Items[I].Value + #13#10);118 //WriteLn(Headers.Keys[I] + ': ' + Headers.Items[I].Value + #13#10); 118 119 SendString(Headers.Keys[I] + ': ' + Headers.Items[I].Value + #13#10); 119 120 end;
Note:
See TracChangeset
for help on using the changeset viewer.