[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    =?utf-8?q?=5Bkdelibs=5D_kioslave/http=3A_Make_sure_m=5FiPostData?=
From:       Dawit Alemayehu <adawit () kde ! org>
Date:       2011-03-06 0:29:37
Message-ID: 20110306002937.A184AA60BB () git ! kde ! org
[Download RAW message or body]

Git commit c9f723a0afe0f5ed2c1b05ddd0d4373b78a1fd17 by Dawit Alemayehu.
Committed on 06/03/2011 at 01:29.
Pushed by adawit into branch 'master'.

Make sure m_iPostDataSize is always reset to NO_SIZE to avoid incorrect use.

M  +1    -0    kioslave/http/http.cpp     

http://commits.kde.org/kdelibs/c9f723a0afe0f5ed2c1b05ddd0d4373b78a1fd17

diff --git a/kioslave/http/http.cpp b/kioslave/http/http.cpp
index 7e7a7d1..4ad6aaa 100644
--- a/kioslave/http/http.cpp
+++ b/kioslave/http/http.cpp
@@ -559,6 +559,7 @@ void HTTPProtocol::resetSessionSettings()
   // the persistent link has been terminated by the remote end.
   m_request.isKeepAlive = true;
   m_request.keepAliveTimeout = 0;
+  m_iPostDataSize = NO_SIZE;
 }
 
 void HTTPProtocol::setHost( const QString& host, quint16 port,


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic