jFastCGI / jfastcgi

jFastCGI
Other
38 stars 11 forks source link

Server does not work, stuck in fill loop after serving the first request. #16

Closed mmagyar closed 8 years ago

mmagyar commented 8 years ago

I'm trying to interface my java app with apache2 with Fastcgi. The problem is that after serving the first request, which reaches the client perfectly, all following requests are stuck, and it seems that it get's stuck in Input's fill functions while loop.

I'm not sure if i'm doing something wrong, since i could not found any example code.

I'm going to post the code later, when i get home, but the gist of it is that i run fcgiinterfact.FcgiAccpet() in a while loop.

jrialland commented 8 years ago

There is a misunderstanding : This project do not provide any fastCGI implementation, but aims at providing a way for using a servlet container as a fastcgi "reverse proxy" for other fastcgi apps.

Therefore we cannot give you any help concerning the integration between your particular program and the fastCGI protocol (unless it uses the JFastCGI library) , sorry :(

You may have a look at http://www.fastcgi.com/drupal/node/12 if you need help (we are not related with these people)

mmagyar commented 8 years ago

Sorry about that, i was just hoping this library could help with bidirectional communication, and since it kind of works, i was hoping it's supported.