Import Upstream version 2.11

parent f854dbc1
2.11 version:
- Sjjad Hashemian <wolaws@gmail.com>
Set SSL auto-retry mode. This fixes SSL WANT_READ error which causes
'Connection gone' error sometimes.
2.10 version:
- Denis Denisov <denji0k@gmail.com>
......
Version 2.11, 2016-06-05
[ Sjjad Hashemian ]
* Set SSL auto-retry mode. This fixes SSL WANT_READ error which causes
'Connection gone' error sometimes.
Version 2.10, 2016-06-04
[ Joao Eriberto Mota Filho ]
......
......@@ -4,7 +4,7 @@
# This file is under same license of Axel
AC_PREREQ([2.69])
AC_INIT([axel], [2.10], [https://github.com/eribertomota/axel/issues])
AC_INIT([axel], [2.11], [https://github.com/eribertomota/axel/issues])
AC_CONFIG_SRCDIR([src/conf.h])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
......
......@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Axel\n"
"Report-Msgid-Bugs-To: https://github.com/eribertomota/axel/issues\n"
"POT-Creation-Date: 2016-06-04 20:03-0300\n"
"POT-Creation-Date: 2016-06-05 11:11-0300\n"
"PO-Revision-Date: 2008-09-15 22:08+0200\n"
"Last-Translator: Hermann J. Beckers <hj.beckers@onlinehome.de>\n"
"Language-Team: deutsch <de@li.org>\n"
......@@ -344,7 +344,7 @@ msgid ""
"\n"
msgstr ""
#: src/ssl.c:77
#: src/ssl.c:79
#, c-format
msgid "SSL error: %s\n"
msgstr ""
......
......@@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Axel\n"
"Report-Msgid-Bugs-To: https://github.com/eribertomota/axel/issues\n"
"POT-Creation-Date: 2016-06-04 20:03-0300\n"
"POT-Creation-Date: 2016-06-05 11:11-0300\n"
"PO-Revision-Date: 2012-03-11 00:03+0900\n"
"Last-Translator: Osamu Aoki <osamu@debian.org>\n"
"Language-Team: debian-japanese@lists.debian.org\n"
......@@ -350,7 +350,7 @@ msgid ""
"\n"
msgstr ""
#: src/ssl.c:77
#: src/ssl.c:79
#, c-format
msgid "SSL error: %s\n"
msgstr ""
......
......@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Axel\n"
"Report-Msgid-Bugs-To: https://github.com/eribertomota/axel/issues\n"
"POT-Creation-Date: 2016-06-04 20:03-0300\n"
"POT-Creation-Date: 2016-06-05 11:11-0300\n"
"PO-Revision-Date: 2001-11-14 15:22+0200\n"
"Last-Translator: Wilmer van der Gaast <wilmer@gaast.net>\n"
"Language-Team: Dutch <nl@li.org>\n"
......@@ -339,7 +339,7 @@ msgid ""
"\n"
msgstr ""
#: src/ssl.c:77
#: src/ssl.c:79
#, c-format
msgid "SSL error: %s\n"
msgstr ""
......
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: axel 2.10\n"
"Report-Msgid-Bugs-To: https://github.com/eribertomota/axel/issues\n"
"POT-Creation-Date: 2016-06-04 20:03-0300\n"
"POT-Creation-Date: 2016-06-05 11:11-0300\n"
"PO-Revision-Date: 2016-06-04 18:17-0300\n"
"Last-Translator: Eriberto Mota <eriberto@eriberto.pro.br>\n"
"Language-Team: Brazilian Portuguese\n"
......@@ -361,7 +361,7 @@ msgstr ""
"\n"
"Por favor, veja o arquivo CREDITS.\n"
#: src/ssl.c:77
#: src/ssl.c:79
#, c-format
msgid "SSL error: %s\n"
msgstr "Erro SSL: %s\n"
......
......@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Axel\n"
"Report-Msgid-Bugs-To: https://github.com/eribertomota/axel/issues\n"
"POT-Creation-Date: 2016-06-04 20:03-0300\n"
"POT-Creation-Date: 2016-06-05 11:11-0300\n"
"PO-Revision-Date: 2009-04-02 00:05+0200\n"
"Last-Translator: newhren <colimit@gmail.com>\n"
"Language-Team: Russian <ru@li.org>\n"
......@@ -342,7 +342,7 @@ msgid ""
"\n"
msgstr ""
#: src/ssl.c:77
#: src/ssl.c:79
#, c-format
msgid "SSL error: %s\n"
msgstr ""
......
......@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Axel\n"
"Report-Msgid-Bugs-To: https://github.com/eribertomota/axel/issues\n"
"POT-Creation-Date: 2016-06-04 20:03-0300\n"
"POT-Creation-Date: 2016-06-05 11:11-0300\n"
"PO-Revision-Date: 2008-11-08 22:40+0700\n"
"Last-Translator: Shuge Lee <shuge.lee@gmail.com>\n"
"Language-Team: Simplified Chinese <i18n-zh@i18n.org>\n"
......@@ -342,7 +342,7 @@ msgid ""
"\n"
msgstr ""
#: src/ssl.c:77
#: src/ssl.c:79
#, c-format
msgid "SSL error: %s\n"
msgstr ""
......
......@@ -79,7 +79,7 @@
#define MAX_STRING 1024
#define MAX_ADD_HEADERS 10
#define MAX_REDIR 5
#define AXEL_VERSION_STRING "2.10"
#define AXEL_VERSION_STRING "2.11"
#define DEFAULT_USER_AGENT "Axel " AXEL_VERSION_STRING " (" ARCH ")"
typedef struct
......
/*
Axel -- A lighter download accelerator for Linux and other Unices
Copyright 2016 Sjjad Hashemian
Copyright 2016 Stephen Thirlwall
This program is free software; you can redistribute it and/or
......@@ -61,6 +62,7 @@ void ssl_startup( void )
SSL_CTX_set_default_verify_paths(ssl_ctx);
SSL_CTX_set_verify(ssl_ctx, SSL_VERIFY_PEER, NULL);
}
SSL_CTX_set_mode(ssl_ctx, SSL_MODE_AUTO_RETRY);
}
SSL* ssl_connect( int fd, char *message )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment