summaryrefslogtreecommitdiff
path: root/automation/source/testtool/httprequest.cxx
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-08-23 15:06:53 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-08-23 15:06:53 +0200
commit6e4894c2019dc9c442dce738d3f0423d8d74973f (patch)
treee3734a287f4c02ecb120e54aa32141f95f484236 /automation/source/testtool/httprequest.cxx
parentb84e1626f6fcb29fe784933dee51079c3447a50c (diff)
recreated tag libreoffice-3.3.3.1 which had these commits:
commit d7e53cee633ec1c583c72e6d9c01122195c4383c (tag: refs/tags/libreoffice-3.3.3.1) Author: Petr Mladek <pmladek@suse.cz> Date: Tue May 31 17:39:04 2011 +0200 Version 3.3.3.1, tag libreoffice-3.3.3.1 (3.3.3-rc1)
Notes
Notes: split repo tag: components_libreoffice-3.3.3.1 split repo tag: components_libreoffice-3.3.4.1
Diffstat (limited to 'automation/source/testtool/httprequest.cxx')
-rw-r--r--automation/source/testtool/httprequest.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/automation/source/testtool/httprequest.cxx b/automation/source/testtool/httprequest.cxx
index beb8f4c4d0d7..11c1e4d484b0 100644
--- a/automation/source/testtool/httprequest.cxx
+++ b/automation/source/testtool/httprequest.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -91,13 +91,13 @@ BOOL HttpRequest::Execute()
}
TimeValue aTV;
- aTV.Seconds = 10; // Warte 10 Sekunden
+ aTV.Seconds = 10; // Warte 10 Sekunden
aTV.Nanosec = 0;
pOutSocket = new osl::ConnectorSocket();
if ( pOutSocket->connect( aConnectAddr, &aTV ) == osl_Socket_Ok )
{
-// pOutSocket->setTcpNoDelay( 1 );
+// pOutSocket->setTcpNoDelay( 1 );
}
else
{
@@ -128,7 +128,7 @@ BOOL HttpRequest::Execute()
SendString( pOutSocket, "Connection: Keep-Alive\n" );
}
-
+
SendString( pOutSocket, "User-Agent: Mozilla/4.7 [de] (Linux; I)" );
SendString( pOutSocket, "Host: " );
SendString( pOutSocket, aRequestHost );
@@ -156,7 +156,7 @@ BOOL HttpRequest::Execute()
pOutSocket->close();
pStream->Seek( 0 );
-
+
ByteString aLine;
BOOL bInsideHeader = TRUE;
while ( bInsideHeader )