[Bug 1423498] Re: FTP upload causes squid hang
Andreas Hasenack
andreas at canonical.com
Fri Oct 27 12:26:31 UTC 2017
Trusty verification
Confirming the problem with 3.3.8-1ubuntu6.9
Version table:
*** 3.3.8-1ubuntu6.9 0
500 http://br.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
ubuntu at trusty-squid-ftp-upload-1423498:~$ echo -e "ubuntu\nubuntu" | sudo passwd ubuntu
Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully
ubuntu at trusty-squid-ftp-upload-1423498:~$ truncate -s 0 /tmp/zero
ubuntu at trusty-squid-ftp-upload-1423498:~$ ftp_proxy=http://localhost:3128/ curl --upload-file /tmp/zero ftp://ubuntu:ubuntu@localhost/
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (52) Empty reply from server
ubuntu at trusty-squid-ftp-upload-1423498:~$ sudo grep assertion /var/log/squid3/cache.log
2017/10/27 12:21:38| assertion failed: Server.cc:244: "r->body_pipe != NULL"
Installing the package from proposed:
Version table:
*** 3.3.8-1ubuntu6.10 0
500 http://br.archive.ubuntu.com/ubuntu/ trusty-proposed/main amd64 Packages
ubuntu at trusty-squid-ftp-upload-1423498:~$ ftp_proxy=http://localhost:3128/ curl --upload-file /tmp/zero ftp://ubuntu:ubuntu@localhost/
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>FTP PUT Successful.</title>
<style type="text/css"><!--
/*
Stylesheet for Squid Error pages
(...)
Nothing of note in the cache log, where the assertion error was before.
And the zero file was uploaded:
ubuntu at trusty-squid-ftp-upload-1423498:~$ l zero
-rw-r--r-- 1 ubuntu ubuntu 0 Oct 27 12:25 zero
** Tags removed: verification-needed-trusty
** Tags added: verification-done-trusty
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1423498
Title:
FTP upload causes squid hang
To manage notifications about this bug go to:
https://bugs.launchpad.net/squid/+bug/1423498/+subscriptions
More information about the Ubuntu-server-bugs
mailing list