]> source.dussan.org Git - jgit.git/commit
ReceivePack: enable capabilities immediately on first line 50/76650/1
authorShawn Pearce <spearce@spearce.org>
Tue, 5 Jul 2016 19:37:26 +0000 (12:37 -0700)
committerShawn Pearce <spearce@spearce.org>
Tue, 5 Jul 2016 19:37:26 +0000 (12:37 -0700)
commit306932c7014c4058d744dab71d3c190e4a4bd926
treefe985a9f7addc3c5119d24adb6256f1eef269862
parent60ca93798ccb780ed02df1db12b9ce75bdbb9925
ReceivePack: enable capabilities immediately on first line

Instead of deferring until after command parsing, enable the
capabilities after the first pkt-line has been read from the client.
This allows the server to setup the side-band-64k channel immediately.

Change-Id: I141b7fc92e983a41d3a58da8e1464a6917422b6c
org.eclipse.jgit/src/org/eclipse/jgit/transport/BaseReceivePack.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java