Thread: [Noffle-devel] [ noffle-Bugs-578253 ] auto-subscribe broken
Brought to you by:
bears
From: <no...@so...> - 2002-07-07 01:08:01
|
Bugs item #578253, was opened at 2002-07-07 11:08 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101044&aid=578253&group_id=1044 Category: None Group: None Status: Open Priority: 5 Submitted By: Mike Williams (mdub) Assigned to: Nobody/Anonymous (nobody) Summary: auto-subscribe broken Initial Comment: Since upgrading to Noffle 1.1.2 (from CVS), auto-subscribe appears to be broken. The following NNTP session-logs demonstrate the difference in behaviour between v-1.0.1 and 1.1.2. "alt.foo.bar" is an unsubscribed group: $ nc 0 nntp 200 NNTP server NOFFLE 1.1.2 GROUP alt.foo.bar 211 0 0 0 alt.foo.bar selected quit 205 Goodbye $ nc 0 nntp 200 NNTP server NOFFLE 1.0.1 GROUP alt.foo.bar 211 4 1525 1528 alt.foo.bar selected quit 205 Goodbye ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101044&aid=578253&group_id=1044 |
From: <no...@so...> - 2002-07-08 10:21:57
|
Bugs item #578253, was opened at 2002-07-07 02:08 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101044&aid=578253&group_id=1044 Category: None Group: None Status: Open Priority: 5 Submitted By: Mike Williams (mdub) >Assigned to: Jim Hague (bears) Summary: auto-subscribe broken Initial Comment: Since upgrading to Noffle 1.1.2 (from CVS), auto-subscribe appears to be broken. The following NNTP session-logs demonstrate the difference in behaviour between v-1.0.1 and 1.1.2. "alt.foo.bar" is an unsubscribed group: $ nc 0 nntp 200 NNTP server NOFFLE 1.1.2 GROUP alt.foo.bar 211 0 0 0 alt.foo.bar selected quit 205 Goodbye $ nc 0 nntp 200 NNTP server NOFFLE 1.0.1 GROUP alt.foo.bar 211 4 1525 1528 alt.foo.bar selected quit 205 Goodbye ---------------------------------------------------------------------- >Comment By: Jim Hague (bears) Date: 2002-07-08 11:21 Message: Logged In: YES user_id=184 I can't reproduce this here. jim@hagrid:~$ telnet localhost nntp Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 200 NNTP server NOFFLE 1.1.2 group alt.foo.bar 211 1 1565 1565 alt.foo.bar selected quit 205 Goodbye What does noffle -g | grep alt.foo.bar report? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101044&aid=578253&group_id=1044 |
From: <no...@so...> - 2002-07-08 11:12:37
|
Bugs item #578253, was opened at 2002-07-07 11:08 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101044&aid=578253&group_id=1044 Category: None Group: None Status: Open Priority: 5 Submitted By: Mike Williams (mdub) Assigned to: Jim Hague (bears) Summary: auto-subscribe broken Initial Comment: Since upgrading to Noffle 1.1.2 (from CVS), auto-subscribe appears to be broken. The following NNTP session-logs demonstrate the difference in behaviour between v-1.0.1 and 1.1.2. "alt.foo.bar" is an unsubscribed group: $ nc 0 nntp 200 NNTP server NOFFLE 1.1.2 GROUP alt.foo.bar 211 0 0 0 alt.foo.bar selected quit 205 Goodbye $ nc 0 nntp 200 NNTP server NOFFLE 1.0.1 GROUP alt.foo.bar 211 4 1525 1528 alt.foo.bar selected quit 205 Goodbye ---------------------------------------------------------------------- >Comment By: Mike Williams (mdub) Date: 2002-07-08 21:12 Message: Logged In: YES user_id=106997 It seems to be something about being online ... for example: $ noffle -g | grep ^nz.general nz.general news.ozemail.com.au 538368 538367 -1 y 2002-06-22 13:56:56 1970-01-01 10:00:00 General information, announcements, etc $ noffle -o NOFFLE is already offline $ nc 0 nntp 200 NNTP server NOFFLE 1.1.2 GROUP nz.general 211 1 538368 538368 nz.general selected $ noffle -n NOFFLE is now online $ nc 0 nntp 200 NNTP server NOFFLE 1.1.2 GROUP nz.general 211 0 0 0 nz.general selected ---------------------------------------------------------------------- Comment By: Jim Hague (bears) Date: 2002-07-08 20:21 Message: Logged In: YES user_id=184 I can't reproduce this here. jim@hagrid:~$ telnet localhost nntp Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 200 NNTP server NOFFLE 1.1.2 group alt.foo.bar 211 1 1565 1565 alt.foo.bar selected quit 205 Goodbye What does noffle -g | grep alt.foo.bar report? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101044&aid=578253&group_id=1044 |
From: Mirko L. <mir...@we...> - 2002-07-08 18:27:22
|
----- Forwarded message ----- >It seems to be something about being online ... for example: This happens if noffle is online and no article or pseudo exists. It's a SNAFU: The group will be auto-subscribed after the first article have been read. But no pseudo will be generated in online mode. Patching server.c seems to fix it: static Bool needsPseudoGenInfo( const char *grp ) { return ! ( Grp_local( grp ) - || Fetchlist_contains( grp, NULL ) - || Online_true() ); + || Fetchlist_contains( grp, NULL ) ); } But I suppose generating pseudo-articles in online mode is a BAD thing. There's always the possibility of loops of chained servers. I think there's something wrong with content.c:setupEmpty(). regards, Mirko |
From: Jim H. <jim...@ac...> - 2002-07-12 10:13:02
|
On 08-Jul-2002 Mirko Liss wrote: > This happens if noffle is online and no article or pseudo > exists. It's a SNAFU: > > The group will be auto-subscribed after the first article have been > read. But no pseudo will be generated in online mode. If you're in online mode, then the group won't be auto-subscribed. See noteInterest() in server.c. This is also what the docs claim. So Noffle just becomes a caching server a la Newscache. Hence there is no need for a pseudo-message either. The real problem (I think) is with the instructions in INSTALL that tell you to add 'noffle --online' to ip-up and 'noffle --offline' to ip-down. They don't tell you what this does. Furthermore, entering online mode while dialled in isn't necessary and furthermore changes the behaviour of Noffle in a potentially confusing way. I suggest I modify the INSTALL instructions to remove the online mode stuff and redo the README to move the references to online mode into its own section to emphasise the changed behaviour. Comments? -- Jim Hague - jim...@in... (Work), ji...@be... (Play) Never trust a computer you can't lift. |
From: Mirko L. <mir...@we...> - 2002-07-12 21:11:00
|
Jim Hague wrote: > I suggest I modify the INSTALL instructions to remove the online mode stuff > and redo the README to move the references to online mode into its own > section to emphasise the changed behaviour. That's great. > Comments? Please add a note about another issue: Even in online mode, you can't refetch articles that have been expired or that were posted to newsgroups both unknown and unsubscribed. ARTICLE <msgid> won't be passed to an upstream server if the msgid isn't available at the local site (neither the full article nor just the overview). I can't decide if this is a good thing or a bad thing. Reconstruction of a thread ( eg via slrn keyboard shortcut 'ESC 1 ESP p') would be much slower if noffle passed a lot of single requests to upstream servers. Friendly regards, Mirko |