Connections now use two separate threads for writing and listening
- this should avoid dead locks, specifically when connecting to Jabit :/ - also, Java 8 features are now allowed in modules not needed by Android clients
This commit is contained in:
@ -14,6 +14,8 @@ uploadArchives {
|
||||
}
|
||||
}
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
|
||||
task fatCapsule(type: FatCapsule) {
|
||||
applicationClass 'ch.dissem.bitmessage.demo.Main'
|
||||
}
|
||||
|
@ -52,7 +52,7 @@ public class Application {
|
||||
.messageRepo(new JdbcMessageRepository(jdbcConfig))
|
||||
.networkHandler(new DefaultNetworkHandler())
|
||||
.security(new BouncySecurity())
|
||||
// .port(48444)
|
||||
.port(48444)
|
||||
.listener(new BitmessageContext.Listener() {
|
||||
@Override
|
||||
public void receive(Plaintext plaintext) {
|
||||
|
Reference in New Issue
Block a user