Package: curl Version: 7.26.0-1+wheezy2 Severity: normal Dear Maintainer, When trying to post a certain amount of data (21260 in my case), curl is not sending it correctly. No error is shown but the retrieved page is not the one that should be retrieved when POST data is sent.
Running curl in verbose mode shows the next output: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* connected * Connected to sede.dgt.gob.es (213.4.59.219) port 443 (#0) * successfully set certificate verify locations: * CAfile: none CApath: /etc/ssl/certs * SSLv3, TLS handshake, Client hello (1): } [data not shown] * SSLv3, TLS handshake, Server hello (2): { [data not shown] * SSLv3, TLS handshake, CERT (11): { [data not shown] * SSLv3, TLS handshake, Server finished (14): { [data not shown] * SSLv3, TLS handshake, Client key exchange (16): } [data not shown] * SSLv3, TLS change cipher, Client hello (1): } [data not shown] * SSLv3, TLS handshake, Finished (20): } [data not shown] * SSLv3, TLS change cipher, Client hello (1): { [data not shown] * SSLv3, TLS handshake, Finished (20): { [data not shown] * SSL connection using AES256-SHA * Server certificate: * subject: description=Qualified Certificate: AAPP-SEA-M-SW-KPSC; CN=SEDE.DGT.GOB.ES; serialNumber=Q2816003D; OU=sede electróa; OU=SEDE ELECTRÓICA DE LA DIRECCION GENERAL DE TRÁICO; O=DIRECCIÓ GENERAL DE TRÁICO; C=ES * start date: 2010-09-21 10:45:37 GMT * expire date: 2013-09-20 10:45:37 GMT * subjectAltName: sede.dgt.gob.es matched * issuer: C=ES; O=AC CAMERFIRMA S.A.; L=MADRID (Ver en https://www.camerfirma.com/address); OU=AC CAMERFIRMA; serialNumber=A82743287; CN=AC CAMERFIRMA AAPP * SSL certificate verify ok. > POST /WEB_TTRA_CONSULTA/TablonEdictosPublico.face HTTP/1.1 > Cookie: JSESSIONID2=0001abXbSOgEhW6Je5U0ckiNvso:-414ISJ; > JSESSIONID_SEDE=0001eb_2wW-Yz-huVAIQQyxE0Oz:14tmbocsc > Host: sede.dgt.gob.es > User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20100101 Firefox/16.0i > Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 > Accept-Language: es-ES,es;q=0.8,en-US;q=0.5,en;q=0.3 > Accept-Encoding: gzip, deflate > DNT: 1 > Connection: keep-alive > Referer: https://sede.dgt.gob.es/WEB_TTRA_CONSULTA/TablonEdictosPublico.faces > Content-Length: 21258 > Content-Type: application/x-www-form-urlencoded > } [data not shown] * additional stuff not fine transfer.c:1037: 0 0 * additional stuff not fine transfer.c:1037: 0 0 } [data not shown] 25 21258 0 0 25 5493 0 17167 0:00:01 --:--:-- 0:00:01 19758* additional stuff not fine transfer.c:1037: 0 0 * HTTP 1.1 or later with persistent connection, pipelining supported < HTTP/1.1 404 Not Found < Date: Mon, 27 May 2013 10:58:41 GMT < Server: IBM_HTTP_Server < $WSEP: < Last-Modified: Tue, 19 Jun 2012 14:53:06 GMT < Content-Length: 1027 < Keep-Alive: timeout=10, max=100 < Connection: Keep-Alive < Content-Type: text/html < Content-Language: es-ES * HTTP error before end of send, stop sending < { [data not shown] 29 22285 100 1027 25 5493 1675 8961 0:00:02 --:--:-- 0:00:02 9619 * Closing connection #0 * SSLv3, TLS alert, Client hello (1): } [data not shown] The same POST data sent using wget works without a problem. In this particular case, POST data has to be generated with previous server pages and cookies are needed. I have a small script to generate the POST in case you need it to test this issue. Regards. Francisco. -- System Information: Debian Release: 7.0 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core) Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages curl depends on: ii libc6 2.13-38 ii libcurl3 7.26.0-1+wheezy2 ii zlib1g 1:1.2.7.dfsg-13 curl recommends no packages. curl suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org