You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Gary Gregory <ga...@gmail.com> on 2015/09/24 18:39:28 UTC

RE: Contributor names in commit logs? (was: [jira] [Commented] (VFS-567) Timeout in vsFTPd causes exception when executing another command)

There is such requirement for attribution that I know of. The changes.xml is what I see used most consistently and that's not a requirement either from what I can tell.
With Git, there is a formal way to trace contributions, but I'm not sure if that's used at the ASF.

Gary 

-------- Original message --------
From: Bernd <ec...@zusammenkunft.net> 
Date: 09/24/2015  08:59  (GMT-08:00) 
To: Commons Developers List <de...@commons.apache.org> 
Subject: Contributor names in commit logs? (was: [jira] [Commented] (VFS-567)
  Timeout in vsFTPd causes exception when executing another command) 

Hello,

do we have this rule to include the name of a patch contributor into
the commit message? I havent seen that beeing used so far in
commons-vfs, and the commit does contain Antonio's name in the
changes.xml due-to= credits. I think a while back we had the
discussion that not even this is required for smaller contributions.
(but I try to do it for VFS on all changes).

Gruss
Bernd



---------- Forwarded message ----------
From: Antonio Petrelli (JIRA) <ji...@apache.org>
Date: 2015-09-24 10:50 GMT+02:00
Subject: [jira] [Commented] (VFS-567) Timeout in vsFTPd causes
exception when executing another command
To: issues@commons.apache.org



    [ https://issues.apache.org/jira/browse/VFS-567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14906040#comment-14906040
]

Antonio Petrelli commented on VFS-567:
--------------------------------------

Thanks Bernd, however, as I am an emeritus PMC member of other Apache
project, I remember that the name of the contributor should be
inserted in the commit log.

> Timeout in vsFTPd causes exception when executing another command
> -----------------------------------------------------------------
>
>                 Key: VFS-567
>                 URL: https://issues.apache.org/jira/browse/VFS-567
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: vsFTPd 3.0.2 on Kubuntu 14.10
>            Reporter: Antonio Petrelli
>            Assignee: Bernd Eckenfels
>             Fix For: 2.1
>
>         Attachments: commons-vfs-disconnect.diff, vfs-quit-problem.zip
>
>
> After a timeout in vsFTPd, a QUIT command is sent and a 421 Timeout response is sent back to the Java client. After that, a SocketException (broken pipe) is raised and not correctly managed.
> I am attaching a test case, this is the stack trace:
> Exception in thread "main" org.apache.commons.vfs2.FileSystemException: Could not determine the type of file "ftps://localhost/javadev/vfs/input".
>       at org.apache.commons.vfs2.provider.AbstractFileObject.getType(AbstractFileObject.java:1526)
>       at QuitProblemMain.main(QuitProblemMain.java:41)
> Caused by: java.net.SocketException: Pipe interrotta
>       at java.net.SocketOutputStream.socketWrite0(Native Method)
>       at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
>       at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
>       at sun.security.ssl.OutputRecord.writeBuffer(OutputRecord.java:431)
>       at sun.security.ssl.OutputRecord.write(OutputRecord.java:417)
>       at sun.security.ssl.SSLSocketImpl.writeRecordInternal(SSLSocketImpl.java:864)
>       at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:835)
>       at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123)
>       at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
>       at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291)
>       at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:295)
>       at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
>       at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
>       at java.io.BufferedWriter.flush(BufferedWriter.java:254)
>       at org.apache.commons.net.ftp.FTP.__send(FTP.java:505)
>       at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:479)
>       at org.apache.commons.net.ftp.FTPSClient.sendCommand(FTPSClient.java:541)
>       at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:608)
>       at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:582)
>       at org.apache.commons.net.ftp.FTP.quit(FTP.java:864)
>       at org.apache.commons.vfs2.provider.ftp.FTPClientWrapper.disconnect(FTPClientWrapper.java:118)
>       at org.apache.commons.vfs2.provider.ftp.FTPClientWrapper.listFiles(FTPClientWrapper.java:152)
>       at org.apache.commons.vfs2.provider.ftp.FtpFileObject.doGetChildren(FtpFileObject.java:136)
>       at org.apache.commons.vfs2.provider.ftp.FtpFileObject.getChildFile(FtpFileObject.java:106)
>       at org.apache.commons.vfs2.provider.ftp.FtpFileObject.getInfo(FtpFileObject.java:192)
>       at org.apache.commons.vfs2.provider.ftp.FtpFileObject.doGetType(FtpFileObject.java:320)
>       at org.apache.commons.vfs2.provider.AbstractFileObject.getType(AbstractFileObject.java:1517)
>       ... 1 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org