rpms/gvfs/devel gvfs-1.2.3-sftp-40sec-timeout.patch, NONE, 1.1 gvfs.spec, 1.130, 1.131
Tomas Bzatek
tbzatek at fedoraproject.org
Mon Jun 8 15:14:10 UTC 2009
- Previous message (by thread): rpms/eclipse-valgrind/devel .cvsignore, 1.5, 1.6 eclipse-valgrind.spec, 1.11, 1.12 sources, 1.6, 1.7
- Next message (by thread): rpms/aide/devel aide-0.13.1-prelink2.patch, NONE, 1.1 aide.conf, 1.2, 1.3 aide.spec, 1.25, 1.26
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: tbzatek
Update of /cvs/extras/rpms/gvfs/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18128
Modified Files:
gvfs.spec
Added Files:
gvfs-1.2.3-sftp-40sec-timeout.patch
Log Message:
* Mon Jun 8 2009 Tomas Bzatek <tbzatek at redhat.com> - 1.2.3-2
- SFTP: Increase timeout (#504339)
gvfs-1.2.3-sftp-40sec-timeout.patch:
--- NEW FILE gvfs-1.2.3-sftp-40sec-timeout.patch ---
diff -up gvfs-1.2.3/daemon/gvfsbackendsftp.c.orig gvfs-1.2.3/daemon/gvfsbackendsftp.c
--- gvfs-1.2.3/daemon/gvfsbackendsftp.c.orig 2009-04-20 12:41:37.000000000 +0200
+++ gvfs-1.2.3/daemon/gvfsbackendsftp.c 2009-06-08 16:22:08.000000000 +0200
@@ -74,6 +74,8 @@
#define USE_PTY 1
#endif
+#define SFTP_READ_TIMEOUT 40 /* seconds */
+
static GQuark id_q;
typedef enum {
@@ -598,7 +600,7 @@ wait_for_reply (GVfsBackend *backend, in
FD_ZERO (&ifds);
FD_SET (stdout_fd, &ifds);
- tv.tv_sec = 20;
+ tv.tv_sec = SFTP_READ_TIMEOUT;
tv.tv_usec = 0;
ret = select (stdout_fd+1, &ifds, NULL, NULL, &tv);
@@ -859,7 +861,7 @@ handle_login (GVfsBackend *backend,
FD_SET (stdout_fd, &ifds);
FD_SET (prompt_fd, &ifds);
- tv.tv_sec = 20;
+ tv.tv_sec = SFTP_READ_TIMEOUT;
tv.tv_usec = 0;
ret = select (MAX (stdout_fd, prompt_fd)+1, &ifds, NULL, NULL, &tv);
Index: gvfs.spec
===================================================================
RCS file: /cvs/extras/rpms/gvfs/devel/gvfs.spec,v
retrieving revision 1.130
retrieving revision 1.131
diff -u -p -r1.130 -r1.131
--- gvfs.spec 18 May 2009 13:51:32 -0000 1.130
+++ gvfs.spec 8 Jun 2009 15:14:08 -0000 1.131
@@ -1,7 +1,7 @@
Summary: Backends for the gio framework in GLib
Name: gvfs
Version: 1.2.3
-Release: 1%{?dist}
+Release: 2%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
URL: http://www.gtk.org
@@ -40,6 +40,8 @@ Patch2: gvfs-1.1.7-gdu-computer-expose-d
Patch7: gvfs-1.2.3-cdda-allow-query-well-formed-filenames-only.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=497631
Patch8: gvfs-1.2.2-dnssd-deadlock.patch
+# https://bugzilla.redhat.com/show_bug.cgi?id=504339
+Patch9: gvfs-1.2.3-sftp-40sec-timeout.patch
# Gdu volume monitor patches, from http://cgit.freedesktop.org/~david/gvfs/log/?h=gdu-volume-monitor
#
@@ -161,6 +163,7 @@ media players (Media Transfer Protocol)
%patch2 -p1 -b .computer-expose-devices
%patch7 -p1 -b .cdda-query
%patch8 -p1 -b .dnssd-deadlock
+%patch9 -p1 -b .sftp-timeout
%patch101 -p1 -b .gdu-volume-monitor
%patch102 -p1 -b .gdu-volumes-typo
@@ -320,6 +323,9 @@ update-desktop-database &> /dev/null ||:
%changelog
+* Mon Jun 8 2009 Tomas Bzatek <tbzatek at redhat.com> - 1.2.3-2
+- SFTP: Increase timeout (#504339)
+
* Mon May 18 2009 Tomas Bzatek <tbzatek at redhat.com> - 1.2.3-1
- Update to 1.2.3
- Prevent deadlocks in dnssd resolver (#497631)
- Previous message (by thread): rpms/eclipse-valgrind/devel .cvsignore, 1.5, 1.6 eclipse-valgrind.spec, 1.11, 1.12 sources, 1.6, 1.7
- Next message (by thread): rpms/aide/devel aide-0.13.1-prelink2.patch, NONE, 1.1 aide.conf, 1.2, 1.3 aide.spec, 1.25, 1.26
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list