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. v0.9.2-234


From: Giuseppe Scrivano
Subject: [myserver-commit] [SCM] GNU MyServer branch, master, updated. v0.9.2-234-g591368c
Date: Fri, 14 May 2010 09:18:14 +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  591368cdf5330118e50132449cc92dcbf87b846c (commit)
       via  7f5eb82b2a470ca2481f3235e971c3f5a9c7669c (commit)
      from  d8f39d2f66322b9acf6494470db2e3955bd5d3c4 (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 591368cdf5330118e50132449cc92dcbf87b846c
Merge: 7f5eb82 d8f39d2
Author: Giuseppe Scrivano <address@hidden>
Date:   Fri May 14 11:18:28 2010 +0200

    Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/myserver




commit 7f5eb82b2a470ca2481f3235e971c3f5a9c7669c
Author: Giuseppe Scrivano <address@hidden>
Date:   Fri May 14 10:27:08 2010 +0200

    Assign directly the header name without check its length.

diff --git a/myserver/src/protocol/http/http_headers.cpp 
b/myserver/src/protocol/http/http_headers.cpp
index 7899815..491be23 100644
--- a/myserver/src/protocol/http/http_headers.cpp
+++ b/myserver/src/protocol/http/http_headers.cpp
@@ -589,8 +589,7 @@ int HttpHeaders::buildHTTPRequestHeaderStruct (const char 
*input,
           else
             {
               HttpRequestHeader::Entry *e = new HttpRequestHeader::Entry ();
-              e->name.assign (cmdStr.c_str (),
-                               std::min (HTTP_RESPONSE_OTHER_DIM, tokenOff));
+              e->name = cmdStr;
               e->value.assign (token, std::min (HTTP_RESPONSE_OTHER_DIM,
                                                  tokenOff));
               request->other.put (cmdStr, e);

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

Summary of changes:
 myserver/src/protocol/http/http_headers.cpp |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU MyServer



reply via email to

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