Bug 136124

Summary: sysutils/bsdstats needs timeout settings
Product: Ports & Packages Reporter: Alexander Best <alexbestms>
Component: Individual Port(s)Assignee: Pav Lucistnik <pav>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
bsdstatspatch.txt none

Description Alexander Best 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 Lucistnik freebsd_committer freebsd_triage 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 Lucistnik freebsd_committer freebsd_triage 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 Lucistnik freebsd_committer freebsd_triage 2009-09-18 22:19:09 UTC
State Changed
From-To: feedback->closed

Committed (with 10 seconds instead of 1 second)
Comment 4 dfilter service freebsd_committer freebsd_triage 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"