myserver-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myserver-commit] [SCM] GNU MyServer branch, master, updated. 0_9_1-74-g


From: Giuseppe Scrivano
Subject: [myserver-commit] [SCM] GNU MyServer branch, master, updated. 0_9_1-74-g722818f
Date: Sat, 13 Feb 2010 23:11:36 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU MyServer".

The branch, master has been updated
       via  722818f7a168c8624e1c87fdc30eaaa857ae89f3 (commit)
       via  b808d39b11c502a68160707d5964ae3d4203221e (commit)
      from  68eefce5b1d394f80326cb5e4dcd28e937fe9ad0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------


commit 722818f7a168c8624e1c87fdc30eaaa857ae89f3
Author: Giuseppe Scrivano <address@hidden>
Date:   Sun Feb 14 00:11:43 2010 +0100

    Replace "Transfer-Encoding" with "Transfer-encoding"

diff --git a/myserver/src/http_handler/isapi/isapi.cpp 
b/myserver/src/http_handler/isapi/isapi.cpp
index 6661f90..9724871 100644
--- a/myserver/src/http_handler/isapi/isapi.cpp
+++ b/myserver/src/http_handler/isapi/isapi.cpp
@@ -277,13 +277,13 @@ BOOL WINAPI ISAPI_WriteClientExport (HCONN hConn, LPVOID 
Buffer, LPDWORD lpdwByt
               if (keepalive)
                 {
                   HttpResponseHeader::Entry *e;
-                  e = ConnInfo->td->response.other.get ("Transfer-Encoding");
+                  e = ConnInfo->td->response.other.get ("Transfer-encoding");
                   if (e)
                     e->value->assign ("chunked");
                   else
                     {
                       e = new HttpResponseHeader::Entry ();
-                      e->name->assign ("Transfer-Encoding");
+                      e->name->assign ("Transfer-encoding");
                       e->value->assign ("chunked");
                       ConnInfo->td->response.other.put (*(e->name), e);
                     }
diff --git a/myserver/src/http_handler/proxy/proxy.cpp 
b/myserver/src/http_handler/proxy/proxy.cpp
index 0ef7f6a..97ba057 100644
--- a/myserver/src/http_handler/proxy/proxy.cpp
+++ b/myserver/src/http_handler/proxy/proxy.cpp
@@ -179,7 +179,7 @@ int Proxy::flushToClient (HttpThreadContext* td, Socket& 
client,
 
   string transferEncoding;
   bool hasTransferEncoding = false;
-  tmp = td->response.getValue ("Transfer-Encoding", NULL);
+  tmp = td->response.getValue ("Transfer-encoding", NULL);
   if (tmp)
     {
       hasTransferEncoding = false;
@@ -187,7 +187,7 @@ int Proxy::flushToClient (HttpThreadContext* td, Socket& 
client,
     }
 
   if (useChunks)
-    td->response.setValue ("Transfer-Encoding", "chunked");
+    td->response.setValue ("Transfer-encoding", "chunked");
 
 
   u_long hdrLen = HttpHeaders::buildHTTPResponseHeader (td->buffer->getBuffer 
(),
@@ -231,7 +231,7 @@ int Proxy::flushToClient (HttpThreadContext* td, Socket& 
client,
   \param useChunks Use chunked transfer encoding
   with the client.
   \param keepalive The connection is keep-alive.
-  \param serverTransferEncoding Transfer-Encoding
+  \param serverTransferEncoding Transfer-encoding
   used by the server.
 
   \return -1 on error.
diff --git a/myserver/src/protocol/http/http_data_handler.cpp 
b/myserver/src/protocol/http/http_data_handler.cpp
index 0363f13..4742532 100644
--- a/myserver/src/protocol/http/http_data_handler.cpp
+++ b/myserver/src/protocol/http/http_data_handler.cpp
@@ -204,13 +204,13 @@ HttpDataHandler::checkDataChunks (HttpThreadContext* td, 
bool* keepalive,
   if (*keepalive)
     {
       HttpResponseHeader::Entry *e;
-      e = td->response.other.get ("Transfer-Encoding");
+      e = td->response.other.get ("Transfer-encoding");
       if (e)
         e->value->assign ("chunked");
       else
         {
           e = new HttpResponseHeader::Entry ();
-          e->name->assign ("Transfer-Encoding");
+          e->name->assign ("Transfer-encoding");
           e->value->assign ("chunked");
           td->response.other.put (*(e->name), e);
         }
diff --git a/myserver/src/protocol/http/http_data_read.cpp 
b/myserver/src/protocol/http/http_data_read.cpp
index bb71f47..4fcde2f 100644
--- a/myserver/src/protocol/http/http_data_read.cpp
+++ b/myserver/src/protocol/http/http_data_read.cpp
@@ -246,7 +246,7 @@ int HttpDataRead::readPostData (HttpThreadContext* td, int* 
httpRetCode)
     td->request.other.get ("Content-type");
 
   HttpRequestHeader::Entry *encoding =
-    td->request.other.get ("Transfer-Encoding");
+    td->request.other.get ("Transfer-encoding");
 
   /* Specify a type if it not specified by the client.  */
   if (contentType == 0)
diff --git a/myserver/src/protocol/http/http_headers.cpp 
b/myserver/src/protocol/http/http_headers.cpp
index 3ef0d38..9887741 100644
--- a/myserver/src/protocol/http/http_headers.cpp
+++ b/myserver/src/protocol/http/http_headers.cpp
@@ -73,9 +73,9 @@ u_long HttpHeaders::buildHTTPResponseHeader (char *str,
     {
       /*
        * Do not specify the Content-length field if it is used
-       * the chunked Transfer-Encoding.
+       * the chunked Transfer-encoding.
        */
-      HttpResponseHeader::Entry *e = response->other.get ("Transfer-Encoding");
+      HttpResponseHeader::Entry *e = response->other.get ("Transfer-encoding");
 
       if (!e || (e && e->value->find ("chunked", 0) == string::npos ))
         {



commit b808d39b11c502a68160707d5964ae3d4203221e
Author: Giuseppe Scrivano <address@hidden>
Date:   Sun Feb 14 00:11:18 2010 +0100

    Include gnulib directory in includes

diff --git a/myserver/tests/Makefile.am b/myserver/tests/Makefile.am
index 31ac38e..d5bbf75 100644
--- a/myserver/tests/Makefile.am
+++ b/myserver/tests/Makefile.am
@@ -1,3 +1,4 @@
+AM_CXXFLAGS="-I$(top_srcdir)/lib"
 bin_PROGRAMS = test_suite
 test_suite_SOURCES =   main.cpp                                \
                        memory_socket.h                 \

-----------------------------------------------------------------------

Summary of changes:
 myserver/src/http_handler/isapi/isapi.cpp        |    4 ++--
 myserver/src/http_handler/proxy/proxy.cpp        |    6 +++---
 myserver/src/protocol/http/http_data_handler.cpp |    4 ++--
 myserver/src/protocol/http/http_data_read.cpp    |    2 +-
 myserver/src/protocol/http/http_headers.cpp      |    4 ++--
 myserver/tests/Makefile.am                       |    1 +
 6 files changed, 11 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
GNU MyServer




reply via email to

[Prev in Thread] Current Thread [Next in Thread]