Menu

Welcome to Open Discussion

2007-11-08
2013-04-23
  • Nobody/Anonymous

    Welcome to Open Discussion

     
  • malory

    malory - 2012-12-13

    I am using jpalo, where is the good place for discuss jpalo?

     
  • Manoj Mokashi

    Manoj Mokashi - 2017-03-13

    There is an issue using this api with multiple palo connections, because the handlers like HeaderHandler are all singletons. So if multiple connections are performing operations in parallel, they use the same handler instance, which switches the connection it is using. This leads to deadlocks, and hangs, because a handler sent a request on one connection, , which got switched to another in between, and now is expects response from another connection, which already finished processing. A simple fix is to change the getInstance() method of the handlers to return a new instance instead of the static singleton.

     

Log in to post a comment.