Commit Graph

12 Commits

Author SHA1 Message Date
wcrisman
2a6f2f959e Rolled back changes to WebServer because they were causing some issues with SSL. Should investigate why the issues are occurring since the newer code should be more correct.
Modified build.xml (ant) to clean before any rebuild all due to having some inconsistency issues in the build.
2014-07-18 12:50:29 -07:00
wcrisman
499a70091b A hail mary to fix the deadlocking of request/responses in https over the internet (slow connections). Not sure if this will work at all.
Tried to fix the null target exception (very strange since it should be possible) in the ThreadService.
2014-07-17 12:19:22 -07:00
wcrisman
c48c065265 Modified WebServer to clean up the threading of socket communications: Made all communications via a socket (in or out) and via a linked pair of sockets (in or out of either when forwarding requests and responses to a remote server) single threaded; Attempted to clean up the way the socket listener flags are set.
Cleaned up ignored resources in the Brainstorm WebServer project by removing them from the repository.
2014-07-17 12:15:07 -07:00
wcrisman
645a8c0a4b Attempted a different fix to the streamed content code so that it is blocking (previous fix failed for an unknown reason, and the code was getting complex unnecessarily). 2014-07-13 13:46:29 -07:00
wcrisman
11b75d567f Fixed bugs in web server's handling of streamed content (logic was incorrectly handling non-blocking IO in the stream - interpreting it as a stream closed). Modified StreamedContent to use blocking IO instead of non-blocking since it was wasting CPU cycles (non-blocking IO done properly would require removing the write flag from the client socket and listening to the StreamedContent for the availablity of content before re-flagging the socket for writing). Using non-blocking IO here really isn't that useful since the content source should be trusted and timely, and multiple threads service clients (a few threads blocking for a few milliseconds is no big deal), and implementing it properly would significantly increase code complexity. 2014-07-13 12:19:30 -07:00
wcrisman
837fdced57 Fixed bugs in web server that ignored when the web app sets a header that overrides anything that would normally be generated (for forwarded content). 2014-07-13 11:01:23 -07:00
wcrisman
17e9c5a153 Removed fancy debug logging from web server to prevent logging causing logging due to logging Monitor lock/unlock calls. Need to replace this logging code with a non-framework queue to allow remote management of the web server and log transfer. 2014-07-12 15:49:35 -07:00
wcrisman
66487c3b25 Fixed bug in handling of sessions - some non-standard web apps (forwarding domains for example) in fact will have null sessions attached to their connections. Non-breaking change. 2014-07-11 15:39:28 -07:00
wcrisman
2b035e092c A second round of fixes to simplify the web application setup code and provide for a connection context accessible by the application when handling web requests. 2014-07-11 12:32:03 -07:00
wcrisman
d2027e13f9 Modified the web server to allow connection related data to be stored in the connection's context by the application. This modifies the contract (interfaces) between the framework and application code, requiring changes to the application (breaks backward compatibility). 2014-07-11 10:39:36 -07:00
wcrisman
bb9b1f550e Fixed TCP no delay in the PassThroughSocketContext.
Ignored the eclipse metadata.
2014-05-30 12:11:28 -07:00
wcrisman
b45e56b890 Initial commit from SVN. 2014-05-30 10:31:51 -07:00