5 Nov 10:02
Re: DC++ incompatibility
Robin Hill <robin <at> robinhill.me.uk>
2004-11-05 09:02:49 GMT
2004-11-05 09:02:49 GMT
On Thu Nov 04, 2004 at 10:48:06PM +0100, Tommy Thorsen wrote: > Thanks for the quick response Robin(Continue reading)> > >>Question 2: This is really my most important question; Why do we not try > >>to change SrcDirection in line 22? > >> > >> > >> > >Because it doesn't make sense here. Both parties are trying to upload a > >file. but the other party has priority in this case, so they should > >switch direction or retry (if they're not wanting to download). > > > > > I'm reaching this code when I try to download files from certain DC++ > users. I haven't explicitly tried to upload anything. Are files (like > filelists) automatically and secretly uploaded to the other party when I > try to download from them? > No, but it may be that they have a download queued from you which is not running either beacuse you have no slots free or because they're limiting the number of concurrent downloads. > If the other party has priority, shouldn't we yield and switch > direction? Or do I misunderstand the nature of this priority? > I'm not sure on this one. I'd've thought we should switch direction if we have a download waiting, though in this case we'd presumably have started the transaction in download mode, not upload.
>
> >>Question 2: This is really my most important question; Why do we not try
> >>to change SrcDirection in line 22?
> >>
> >>
> >>
> >Because it doesn't make sense here. Both parties are trying to upload a
> >file. but the other party has priority in this case, so they should
> >switch direction or retry (if they're not wanting to download).
> >
> >
> I'm reaching this code when I try to download files from certain DC++
> users. I haven't explicitly tried to upload anything. Are files (like
> filelists) automatically and secretly uploaded to the other party when I
> try to download from them?
>
No, but it may be that they have a download queued from you which is not
running either beacuse you have no slots free or because they're
limiting the number of concurrent downloads.
> If the other party has priority, shouldn't we yield and switch
> direction? Or do I misunderstand the nature of this priority?
>
I'm not sure on this one. I'd've thought we should switch direction if
we have a download waiting, though in this case we'd presumably have
started the transaction in download mode, not upload.
RSS Feed