Bug 1792 - doing directory only rsync causes an rsync protocol error
doing directory only rsync causes an rsync protocol error
Status: CLOSED FIXED
Product: rsync
Classification: Unclassified
Component: core
2.5.7
x86 Linux
: P3 minor
: ---
Assigned To: Wayne Davison
Rsync QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-09-17 13:44 UTC by donavan nelson
Modified: 2005-04-01 11:24 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description donavan nelson 2004-09-17 13:44:05 UTC
[donavan@slackmasterd donavan]$ rsync -lptgoDv
rsync://apt.sw.be/pub/freshrpms/pub/dag/redhat/el3/en/i386/RPMS.dag/* somedirectory/
rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(515)



[donavan@slackmasterd donavan]$ rsync
rsync://apt.sw.be/pub/freshrpms/pub/dag/redhat/el3/en/i386/RPMS.dag/ |head -10
drwxr-xr-x      135168 2004/09/03 17:57:02 .
-rw-r--r--       84820 2004/05/30 00:58:49 3ddesktop-0.2.6-1.1.el3.dag.i386.rpm
-rw-r--r--       30959 2004/04/14 20:21:09 4g8-1.0-1.rhel3.dag.i386.rpm
-rw-r--r--      307959 2003/10/26 16:34:56
BasiliskII-0.9.20020115-0.dag.rhel3.i386.rpm
-rw-r--r--       69537 2004/07/07 21:55:43 Hermes-1.3.3-3.1.el3.dag.i386.rpm
-rw-r--r--       59197 2004/07/07 21:55:42 Hermes-devel-1.3.3-3.1.el3.dag.i386.rpm
-rw-r--r--       46229 2004/07/08 09:43:51 SDL_gfx-2.0.10-1.1.el3.dag.i386.rpm
-rw-r--r--       37082 2004/07/08 09:43:52 SDL_gfx-devel-2.0.10-1.1.el3.dag.i386.rpm
-rw-r--r--       23348 2003/10/26 16:36:27 SDL_ttf-2.0.6-0.dag.rhel3.i386.rpm
-rw-r--r--       12254 2003/10/26 16:36:27 SDL_ttf-devel-2.0.6-0.dag.rhel3.i386.rpm


[donavan@slackmasterd donavan]$ rsync
rsync://apt.sw.be/pub/freshrpms/pub/dag/redhat/el3/en/i386/RPMS.dag/ |wc -l
2216


[donavan@slackmasterd donavan]$ rsync --version
rsync  version 2.6.3pre1  protocol version 28
(trimmed the rest)
Comment 1 Wayne Davison 2004-09-17 15:46:23 UTC
Older rsyncs (such as the version apt.sw.be is running) had a limit of 1000
files they would expand when sent a wildcard.  Just leave off the '*' and all
will be well.

If the server were 2.6.3pre1, it would work either way (though leaving off a
trailing '*' is always a better choice).