<div dir="ltr">Hello,<div><br></div><div>I updated the fcl-net and fcl-web of my Free Pascal copy, but when I try to terminate my app via request, it return same error reported in this topic.</div><div><br></div><div>My code is:</div>
<div><br></div><div><ol style="margin:0px;padding:0px 0px 0px 48px;color:rgb(172,172,172);font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace,serif;font-size:12px;line-height:21px;background-color:rgb(248,248,248)">
<li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"><span class="" style="font-weight:bold">program</span> project1<span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> </div>
</li>
<li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"><span class="" style="color:rgb(0,128,0);font-style:italic">{$mode objfpc}{$H+}</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> </div>
</li>
<li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"><span class="" style="font-weight:bold">uses</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> heaptrc<span class="" style="color:rgb(0,0,102)">,</span> sysutils<span class="" style="color:rgb(0,0,102)">,</span> HttpDefs<span class="" style="color:rgb(0,0,102)">,</span> CustWeb<span class="" style="color:rgb(0,0,102)">,</span> CustHTTPApp<span class="" style="color:rgb(0,0,102)">,</span> FPHTTPServer<span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> </div>
</li>
<li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"><span class="" style="font-weight:bold">type</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> </div>
</li>
<li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="color:rgb(128,128,128);font-style:italic">{ TMyHttpApplication }</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> </div>
</li>
<li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> TMyHttpApplication <span class="" style="color:rgb(0,0,102)">=</span> class<span class="" style="color:rgb(0,153,0)">(</span>TCustomHTTPApplication<span class="" style="color:rgb(0,153,0)">)</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">protected</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">function</span> InitializeWebHandler<span class="" style="color:rgb(0,0,102)">:</span> TWebHandler<span class="" style="color:rgb(0,0,102)">;</span> <span class="" style="font-weight:bold">override</span><span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">end</span><span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> </div>
</li>
<li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="color:rgb(128,128,128);font-style:italic">{ TMyEmbeddedHttpServer }</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> </div>
</li>
<li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> TMyEmbeddedHttpServer <span class="" style="color:rgb(0,0,102)">=</span> class<span class="" style="color:rgb(0,153,0)">(</span>TEmbeddedHttpServer<span class="" style="color:rgb(0,153,0)">)</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">protected</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">function</span> CreateRequest<span class="" style="color:rgb(0,0,102)">:</span> TFPHTTPConnectionRequest<span class="" style="color:rgb(0,0,102)">;</span> <span class="" style="font-weight:bold">override</span><span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">function</span> CreateResponse<span class="" style="color:rgb(0,153,0)">(</span>ARequest<span class="" style="color:rgb(0,0,102)">:</span> TFPHTTPConnectionRequest<span class="" style="color:rgb(0,153,0)">)</span><span class="" style="color:rgb(0,0,102)">:</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> TFPHTTPConnectionResponse<span class="" style="color:rgb(0,0,102)">;</span> <span class="" style="font-weight:bold">override</span><span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">public</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">property</span> Active<span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">end</span><span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> </div>
</li>
<li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="color:rgb(128,128,128);font-style:italic">{ TMyHttpServerHandler }</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> </div>
</li>
<li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> TMyHttpServerHandler <span class="" style="color:rgb(0,0,102)">=</span> class<span class="" style="color:rgb(0,153,0)">(</span>TFPHTTPServerHandler<span class="" style="color:rgb(0,153,0)">)</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">protected</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">function</span> CreateServer<span class="" style="color:rgb(0,0,102)">:</span> TEmbeddedHttpServer<span class="" style="color:rgb(0,0,102)">;</span> <span class="" style="font-weight:bold">override</span><span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">public</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">procedure</span> HandleRequest<span class="" style="color:rgb(0,153,0)">(</span>ARequest<span class="" style="color:rgb(0,0,102)">:</span> TRequest<span class="" style="color:rgb(0,0,102)">;</span> AResponse<span class="" style="color:rgb(0,0,102)">:</span> TResponse<span class="" style="color:rgb(0,153,0)">)</span><span class="" style="color:rgb(0,0,102)">;</span> <span class="" style="font-weight:bold">override</span><span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">end</span><span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> </div>
</li>
<li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="color:rgb(128,128,128);font-style:italic">{ TMyHttpApplication }</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> </div>
</li>
<li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">function</span> TMyHttpApplication<span class="" style="color:rgb(0,0,102)">.</span><span class="" style="color:rgb(0,102,0)">InitializeWebHandler</span><span class="" style="color:rgb(0,0,102)">:</span> TWebHandler<span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">begin</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> Result <span class="" style="color:rgb(0,0,102)">:</span><span class="" style="color:rgb(0,0,102)">=</span> TMyHttpServerHandler<span class="" style="color:rgb(0,0,102)">.</span><span class="" style="color:rgb(0,102,0)">Create</span><span class="" style="color:rgb(0,153,0)">(</span>Self<span class="" style="color:rgb(0,153,0)">)</span><span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">end</span><span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> </div>
</li>
<li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="color:rgb(128,128,128);font-style:italic">{ TMyEmbeddedHttpServer }</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> </div>
</li>
<li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">function</span> TMyEmbeddedHttpServer<span class="" style="color:rgb(0,0,102)">.</span><span class="" style="color:rgb(0,102,0)">CreateRequest</span><span class="" style="color:rgb(0,0,102)">:</span> TFPHTTPConnectionRequest<span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">begin</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> Result <span class="" style="color:rgb(0,0,102)">:</span><span class="" style="color:rgb(0,0,102)">=</span> TFPHTTPConnectionRequest<span class="" style="color:rgb(0,0,102)">.</span><span class="" style="color:rgb(0,102,0)">Create</span><span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">end</span><span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> </div>
</li>
<li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">function</span> TMyEmbeddedHttpServer<span class="" style="color:rgb(0,0,102)">.</span><span class="" style="color:rgb(0,102,0)">CreateResponse</span><span class="" style="color:rgb(0,153,0)">(</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> ARequest<span class="" style="color:rgb(0,0,102)">:</span> TFPHTTPConnectionRequest<span class="" style="color:rgb(0,153,0)">)</span><span class="" style="color:rgb(0,0,102)">:</span> TFPHTTPConnectionResponse<span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">begin</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> Result <span class="" style="color:rgb(0,0,102)">:</span><span class="" style="color:rgb(0,0,102)">=</span> TFPHTTPConnectionResponse<span class="" style="color:rgb(0,0,102)">.</span><span class="" style="color:rgb(0,102,0)">Create</span><span class="" style="color:rgb(0,153,0)">(</span>ARequest<span class="" style="color:rgb(0,153,0)">)</span><span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">end</span><span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> </div>
</li>
<li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="color:rgb(128,128,128);font-style:italic">{ TMyHttpServerHandler }</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> </div>
</li>
<li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">function</span> TMyHttpServerHandler<span class="" style="color:rgb(0,0,102)">.</span><span class="" style="color:rgb(0,102,0)">CreateServer</span><span class="" style="color:rgb(0,0,102)">:</span> TEmbeddedHttpServer<span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">begin</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> Result <span class="" style="color:rgb(0,0,102)">:</span><span class="" style="color:rgb(0,0,102)">=</span> TMyEmbeddedHttpServer<span class="" style="color:rgb(0,0,102)">.</span><span class="" style="color:rgb(0,102,0)">Create</span><span class="" style="color:rgb(0,153,0)">(</span>Self<span class="" style="color:rgb(0,153,0)">)</span><span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">end</span><span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> </div>
</li>
<li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"><span class="" style="font-weight:bold">var</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> App<span class="" style="color:rgb(0,0,102)">:</span> TMyHttpApplication<span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> </div>
</li>
<li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">procedure</span> TMyHttpServerHandler<span class="" style="color:rgb(0,0,102)">.</span><span class="" style="color:rgb(0,102,0)">HandleRequest</span><span class="" style="color:rgb(0,153,0)">(</span>ARequest<span class="" style="color:rgb(0,0,102)">:</span> TRequest<span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> AResponse<span class="" style="color:rgb(0,0,102)">:</span> TResponse<span class="" style="color:rgb(0,153,0)">)</span><span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">begin</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">if</span> <span class="" style="font-weight:bold">not</span> App<span class="" style="color:rgb(0,0,102)">.</span><span class="" style="color:rgb(0,102,0)">Terminated</span> <span class="" style="font-weight:bold">then</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> App<span class="" style="color:rgb(0,0,102)">.</span><span class="" style="color:rgb(0,102,0)">Terminate</span><span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">end</span><span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> </div>
</li>
<li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"><span class="" style="font-weight:bold">begin</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> App <span class="" style="color:rgb(0,0,102)">:</span><span class="" style="color:rgb(0,0,102)">=</span> TMyHttpApplication<span class="" style="color:rgb(0,0,102)">.</span><span class="" style="color:rgb(0,102,0)">Create</span><span class="" style="color:rgb(0,153,0)">(</span><span class="" style="font-weight:bold">nil</span><span class="" style="color:rgb(0,153,0)">)</span><span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">try</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> App<span class="" style="color:rgb(0,0,102)">.</span><span class="" style="color:rgb(0,102,0)">Port</span> <span class="" style="color:rgb(0,0,102)">:</span><span class="" style="color:rgb(0,0,102)">=</span> <span class="" style="color:rgb(204,102,204)">5445</span><span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> App<span class="" style="color:rgb(0,0,102)">.</span><span class="" style="color:rgb(0,102,0)">Threaded</span> <span class="" style="color:rgb(0,0,102)">:</span><span class="" style="color:rgb(0,0,102)">=</span> <span class="" style="font-weight:bold">True</span><span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> App<span class="" style="color:rgb(0,0,102)">.</span><span class="" style="color:rgb(0,102,0)">Initialize</span><span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> App<span class="" style="color:rgb(0,0,102)">.</span><span class="" style="color:rgb(0,102,0)">Run</span><span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> DeleteFile<span class="" style="color:rgb(0,153,0)">(</span><span class="" style="color:rgb(255,0,0)">'HEAP.TRC'</span><span class="" style="color:rgb(0,153,0)">)</span><span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> SetHeapTraceOutput<span class="" style="color:rgb(0,153,0)">(</span><span class="" style="color:rgb(255,0,0)">'HEAP.TRC'</span><span class="" style="color:rgb(0,153,0)">)</span><span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">finally</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> App<span class="" style="color:rgb(0,0,102)">.</span><span class="" style="color:rgb(0,102,0)">Free</span><span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"> <span class="" style="font-weight:bold">end</span><span class="" style="color:rgb(0,0,102)">;</span></div>
</li><li class="" style><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)"><span class="" style="font-weight:bold">end</span><span class="" style="color:rgb(0,0,102)">.</span></div>
</li></ol></div><div><br></div><div><a href="http://pastebin.com/503S2Nin">http://pastebin.com/503S2Nin</a></div><div><br></div><div>The error:</div><div><br></div><div>"Could not accept a client connection on socket: -1, error 10004."</div>
<div><br></div><div>Thank you!<br clear="all"><div><br></div>-- <br>Silvio Clécio<br>My public projects - <a href="http://github.com/silvioprog" target="_blank">github.com/silvioprog</a>
</div></div>