diff --git a/Package/BrookTardigrade.dproj b/Package/BrookTardigrade.dproj index 4deb709..da923c3 100755 --- a/Package/BrookTardigrade.dproj +++ b/Package/BrookTardigrade.dproj @@ -88,9 +88,9 @@ false true - CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=5.2.2.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=5.2.0.0;Comments= + CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=5.2.3.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=5.2.3.0;Comments= 2 - 2 + 3 false diff --git a/Package/BrookTardigrade.lpk b/Package/BrookTardigrade.lpk index c23449d..a16a472 100755 --- a/Package/BrookTardigrade.lpk +++ b/Package/BrookTardigrade.lpk @@ -28,7 +28,7 @@ Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with Brook framework; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA"/> - + diff --git a/Source/BrookHTTPServer.pas b/Source/BrookHTTPServer.pas index f947efb..60ade6c 100644 --- a/Source/BrookHTTPServer.pas +++ b/Source/BrookHTTPServer.pas @@ -469,10 +469,14 @@ class procedure TBrookHTTPServer.DoRequestCallback(Acls: Pcvoid; VReq := VSrv.CreateRequest(Areq); VRes := VSrv.CreateResponse(Ares); try - if (VSrv.FNoFavicon and VReq.IsFavicon) or (VRes.IsEmpty) then + if VSrv.FNoFavicon and VReq.IsFavicon then VRes.SendEmpty else + begin VSrv.HandleRequest(VReq, VRes); + if VRes.IsEmpty then + VRes.SendEmpty; + end; finally VRes.Free; VReq.Free;