Bug 136124 - sysutils/bsdstats needs timeout settings
sysutils/bsdstats needs timeout settings
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: pav
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-28 12:10 UTC by alexbestms
Modified: 2009-09-18 22:20 UTC (History)
0 users

See Also:


Attachments
bsdstatspatch.txt (983 bytes, text/plain)
2009-09-18 21:53 UTC, alexbestms
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description alexbestms 2009-06-28 12:10:02 UTC
/usr/local/etc/periodic/monthly/300.statistics uses `fetch` in do_fetch (). however neither HTTP_TIMEOUT is set nor the -T switch is being used. if for some reason `fetch` is unable to download "http://$checkin_server/scripts/$1" the boot process won't continue until ctrl+c is being issued (which isn't possible of course if no keyboard is present e.g.).

questions is: should HTTP_TIMEOUT be honoured or not? i think it's best to use the -T switch with a value of let's say 10 seconds.

cheers.
Comment 1 pav freebsd_committer 2009-09-18 14:26:08 UTC
State Changed
From-To: open->feedback

This port is unmaintained.  Can you perhaps prepare a patch with the change you 
want? 


Comment 2 pav freebsd_committer 2009-09-18 14:26:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

This port is unmaintained.  Can you perhaps prepare a patch with the change you 
want?
Comment 3 pav freebsd_committer 2009-09-18 22:19:09 UTC
State Changed
From-To: feedback->closed

Committed (with 10 seconds instead of 1 second)
Comment 4 dfilter freebsd_committer 2009-09-18 22:19:43 UTC
pav         2009-09-18 21:19:34 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/bsdstats    Makefile 
    sysutils/bsdstats/files 300.statistics 
  Log:
  - Set HTTP Timeout to prevent blocking
  
  PR:             ports/136124
  Submitted by:   Alexander Best <alexbestms@math.uni-muenster.de>
  Feature safe:   yes
  
  Revision  Changes    Path
  1.59      +1 -2      ports/sysutils/bsdstats/Makefile
  1.42      +5 -4      ports/sysutils/bsdstats/files/300.statistics
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"