kio_http bug

Allen Winter winter at kde.org
Tue Jul 17 11:31:46 BST 2007


On Monday 16 July 2007 6:45:53 pm Antonio Aloisio wrote:
> The problem of kio_http is that the variable m_bufPOST (file
> kdelibs/build/kioslave/http/http.cpp ) is null only in the first
> request; so the other request fails !
> The problem is in the HTTPProtocol::sendBody()
> at line
> if ( !m_bufPOST.isNull() )
> 
> so if you change this line with
> if ( !m_bufPOST.isEmpty() )
> 
> all works fine!
> 
> Tony Aloisio
> 
> 
But that goes against the specific comment in the code, which says
"m_bufPOST will NOT be empty iff (sic) authentication was required before posting..."

So something else must be happening.  Any httpd folks reading this?
Waldo? George? Hamish?

-Allen




More information about the kde-core-devel mailing list