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
|
edf8748a3c
|
Stopped tracking the webapp related files in the web server project.
|
2014-07-16 13:15:36 -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
|
2fc70088c1
|
Fixed newly introduced bug where by a blocking channel deadlocks because all content was read, but we attempted to read more anyway.
|
2014-07-13 12:54:10 -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
|
c06e555510
|
Added warnings to Monitor regarding unlocking with a thread that did not perform the locking; Added extra debug output for this occurrence.
|
2014-07-12 21:33:45 -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
|
0081ad43b9
|
Fixed bugs introduced into Monitor when adding debug info and simplifying.
|
2014-07-11 17:13:25 -07:00 |
|
wcrisman
|
985228d213
|
More changes to Monitor to attempt to catch a bug.
|
2014-07-11 16:17:49 -07:00 |
|
wcrisman
|
b11dc14fb3
|
More changes to Monitor to attempt to catch a bug.
|
2014-07-11 15:51:51 -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
|
54b2f9b5ad
|
Minor changes to Monitor to attempt to find a bug.
|
2014-07-11 15:29:08 -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
|
07b8c2ff8d
|
Fixed bugs from last commit.
|
2014-07-11 10:41:39 -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 |
|