This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 258694 - Connection disconnects after upload instead of staying connected, despite keep-alive setting
Summary: Connection disconnects after upload instead of staying connected, despite kee...
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: FTP Support (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-06 17:51 UTC by mechtrader
Modified: 2016-06-03 05:23 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mechtrader 2016-04-06 17:51:58 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Linux version 4.2.0-35-generic running on amd64
Java; VM; Vendor = 1.8.0_60
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.60-b23

Reproducibility: Happens every time

STEPS:
  With an FTP or SFTP connection set to upload manually, keep-alive 30 secs (or any other value other than 0), timeout 600 secs (or any other value higher than the keep-alive), right-click a file in the Projects tab, select upload, wait for the file to upload. At the end it says "GOODBYE". Try to upload any file again. The connection reconnects.

ACTUAL:
  Every file upload the connection  connections, uploads, then disconnects.

EXPECTED:
  First time connection should connect and upload, afterwards the connection should be kept-alive, and the next time I upload something shortly thereafter, it should re-use the connection rather than re-connecting, saving about 10 seconds
Comment 1 Tomas Mysik 2016-06-02 12:25:17 UTC
The keep-alive settings applies currently only for upload-on-save functionality. If one invokes any upload/download action manually, client disconnects.

Will try to have a look whether it can be asily changed/improved.

Thanks for reporting.
Comment 2 Tomas Mysik 2016-06-03 05:23:50 UTC
Unfortunately, too risky for NB 8.2 but will try to implement it for the next release.

Thanks for reporting.