[aseek-devel] HEAD bug+patch

From: Jan Karabina (no email)
Date: Mon Nov 26 2001 - 20:14:11 EST


I found bug in parse.cpp

INDEX never does HEAD requests when connecting directly to server (it is
OK with proxy).

--
Jan Karabina mailto: (private: )
aspseek-1.2.6, parse.cpp:
1296c1296
< 		sprintf(request,"%s %s%s HTTP/1.0\r\n%s", "GET", m_path, m_filename, extra);
---
> 		sprintf(request,"%s %s%s HTTP/1.0\r\n%s", Method == HEAD ? "HEAD" : "GET", m_path, m_filename, extra);







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD