public void endRequest() { // Finish the handling of the request try { inputBuffer.endRequest(); } catch (IOException e) { error = true; } catch (Throwable t) { CoyoteLogger.HTTP_LOGGER.errorFinishingRequest(t); // 500 - Internal Server Error response.setStatus(500); error = true; } try { outputBuffer.endRequest(); } catch (IOException e) { error = true; } catch (Throwable t) { CoyoteLogger.HTTP_LOGGER.errorFinishingResponse(t); error = true; } }
public void endRequest() { // Finish the handling of the request try { inputBuffer.endRequest(); } catch (IOException e) { error = true; } catch (Throwable t) { log.error(sm.getString("http11processor.request.finish"), t); // 500 - Internal Server Error response.setStatus(500); adapter.log(request, response, 0); error = true; } try { outputBuffer.endRequest(); } catch (IOException e) { error = true; } catch (Throwable t) { log.error(sm.getString("http11processor.response.finish"), t); error = true; } }