}
/* Fill reneg buffer if required. */
- if (change_vmode) {
- rc = fill_reneg_buffer(r, dc);
- if (rc) {
- ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(10228)
- "could not buffer message body to allow "
- "TLS Post-Handshake Authentication to proceed");
- return rc;
- }
- }
-
if (change_vmode) {
char peekbuf[1];
return HTTP_FORBIDDEN;
}
+ rc = fill_reneg_buffer(r, dc);
+ if (rc) {
+ ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(10228)
+ "could not buffer message body to allow "
+ "TLS Post-Handshake Authentication to proceed");
+ return rc;
+ }
+
ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(10129)
"verify client post handshake");