Comment 20 for bug 1423498

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

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@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@trusty-squid-ftp-upload-1423498:~$ truncate -s 0 /tmp/zero

ubuntu@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@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@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@trusty-squid-ftp-upload-1423498:~$ l zero
-rw-r--r-- 1 ubuntu ubuntu 0 Oct 27 12:25 zero