Skip to content

Commit

Permalink
TS-3006: Always build TSConfig, don't require WCCP.
Browse files Browse the repository at this point in the history
  • Loading branch information
SolidWallOfCode committed Sep 24, 2014
1 parent 982cca2 commit a8521d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions lib/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.

SUBDIRS = ts records
SUBDIRS = ts records tsconfig

if BUILD_PERL_LIB
SUBDIRS += perl
endif

# TsConfig is only built for WCCP until the bugs are worked out.
if BUILD_WCCP
SUBDIRS += tsconfig wccp
SUBDIRS += wccp
endif

if ENABLE_CPPAPI
Expand Down
2 changes: 1 addition & 1 deletion proxy/http/HttpTransact.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4383,11 +4383,11 @@ HttpTransact::handle_cache_operation_on_forward_server_response(State* s)
resp->set_expires(exp_time);
}
} else if (is_request_conditional(&s->hdr_info.client_request) && server_response_code == HTTP_STATUS_OK) {
DebugTxn("http_trans", "[hcoofsr] conditional request, 200 " "response, send back 304 if possible");
client_response_code =
HttpTransactCache::match_response_to_request_conditionals(&s->hdr_info.client_request,
&s->hdr_info.server_response);

DebugTxn("http_trans", "[hcoofsr] conditional request, 200 " "response, send back 304 if possible [crc=%d]", client_response_code);
if ((client_response_code == HTTP_STATUS_NOT_MODIFIED) || (client_response_code == HTTP_STATUS_PRECONDITION_FAILED)) {
switch (s->cache_info.action) {
case CACHE_DO_WRITE:
Expand Down

0 comments on commit a8521d3

Please sign in to comment.