2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Fixed the bug that causes segmentation fault if
	req->getCurrentUrl() contains printf formatting characters such as
	%d. The statement that causes this bug is useless and removed.
	* src/AbstractCommand.cc
pull/1/head
Tatsuhiro Tsujikawa 2009-10-09 17:20:40 +00:00
parent f9a64adc1a
commit 53bdc4918a
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that causes segmentation fault if
req->getCurrentUrl() contains printf formatting characters such as
%d. The statement that causes this bug is useless and removed.
* src/AbstractCommand.cc
2009-10-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
* Release 1.6.1

View File

@ -280,7 +280,6 @@ bool AbstractCommand::prepareForRetry(time_t wait) {
void AbstractCommand::onAbort() {
if(!req.isNull()) {
logger->debug(req->getCurrentUrl().c_str());
// TODO This might be a problem if the failure is caused by proxy.
e->_requestGroupMan->getOrCreateServerStat(req->getHost(),
req->getProtocol())->setError();