Bug 136698 - [patch] fix ENOTCONN handling in devel/gwenhywfar (socket stalls)
Summary: [patch] fix ENOTCONN handling in devel/gwenhywfar (socket stalls)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Philip M. Gollucci
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-12 18:50 UTC by jflemer
Modified: 2009-07-20 06:40 UTC (History)
0 users

See Also:


Attachments
file.diff (3.35 KB, patch)
2009-07-12 18:50 UTC, jflemer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jflemer 2009-07-12 18:50:01 UTC
Gwenhywfar often (always) stalls in TCP connect for me when used in Aqbanking/Gnucash.  The attached patches add checks for ENOTCONN conditions in the socket layer, which resolves the stalls.

Fix: With the attached patches, the same test as above works fine.  The socket is established, data is sent and received as expected, account list is downloaded.

Patch attached with submission follows:
How-To-Repeat: Install gwenhywfar-3.9.0 and aqbanking-4.1.0 with OFX support.  Run the aqbanking setup wizard (qt3-wizard), configure a user for a site that uses https.  Click on "Download Accounts".  The GUI will hang for a while, and tcpdump will show the socket connection stalls after the 3-way TCP handshake.  No data sent on the socket, and eventually something times out and the connection drops.
Comment 1 jflemer 2009-07-12 23:38:24 UTC
Patch submitted and accepted to upstream project.
Comment 2 Philip M. Gollucci freebsd_committer freebsd_triage 2009-07-18 05:00:37 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pgollucci

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2009-07-20 06:33:38 UTC
pgollucci    2009-07-20 05:33:29 UTC

  FreeBSD ports repository

  Modified files:
    devel/gwenhywfar     Makefile 
  Log:
  -  fix ENOTCONN handling
  
  Note: patch accepted upstream
  
  PR:             ports/136698
  Submitted by:   "James E. Flemer" <jflemer@alum.rpi.edu> (maintainer)
  
  Revision  Changes    Path
  1.15      +1 -0      ports/devel/gwenhywfar/Makefile
_______________________________________________
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"
Comment 4 Philip M. Gollucci freebsd_committer freebsd_triage 2009-07-20 06:39:58 UTC
State Changed
From-To: open->closed

Committed. Thanks!