changeset 1906:353787f211ec

- Make code compilable against neon 0.26 by dropping the connect timeout. We need a better solution for that.
author Ralf Ertzinger <ralf@skytale.net>
date Thu, 27 Sep 2007 15:36:15 +0200
parents a0c7cf5638de
children b37cea7ef4a9
files configure.ac src/neon/neon.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Thu Sep 27 00:38:59 2007 -0500
+++ b/configure.ac	Thu Sep 27 15:36:15 2007 +0200
@@ -1283,7 +1283,7 @@
 [have_neon=no])
 
 if test "x$have_neon" = "xyes"; then
-    PKG_CHECK_MODULES(NEON, [neon >= 0.27], [TRANSPORT_PLUGINS="$TRANSPORT_PLUGINS neon" ], [have_neon="no"])
+    PKG_CHECK_MODULES(NEON, [neon >= 0.26], [TRANSPORT_PLUGINS="$TRANSPORT_PLUGINS neon" ], [have_neon="no"])
     NEON_LIBS=`pkg-config --libs neon`
     NEON_CFLAGS=`pkg-config --cflags neon`
 else
--- a/src/neon/neon.c	Thu Sep 27 00:38:59 2007 -0500
+++ b/src/neon/neon.c	Thu Sep 27 15:36:15 2007 +0200
@@ -565,7 +565,7 @@
         ne_add_server_auth(handle->session, NE_AUTH_BASIC, server_auth_callback, (void *)handle);
         ne_set_session_flag(handle->session, NE_SESSFLAG_ICYPROTO, 1);
         ne_set_session_flag(handle->session, NE_SESSFLAG_PERSIST, 0);
-        ne_set_connect_timeout(handle->session, 10);
+        /* ne_set_connect_timeout(handle->session, 10); */
         ne_set_read_timeout(handle->session, 10);
         ne_set_useragent(handle->session, "Audacious/1.4.0");
         ne_redirect_register(handle->session);