View | Details | Raw Unified | Return to bug 50975
Collapse All | Expand All

(-)iis/jk_isapi_plugin.c (-10 / +13 lines)
Lines 3216-3233 Link Here
3216
                                   sizeof(CONTENT_LENGTH) - 1)) {
3216
                                   sizeof(CONTENT_LENGTH) - 1)) {
3217
                    if (need_content_length_header) {
3217
                    if (need_content_length_header) {
3218
                        need_content_length_header = FALSE;
3218
                        need_content_length_header = FALSE;
3219
                        /* If the content-length is unknown
3219
                    }
3220
                         * or larger then 4Gb do not send it.
3220
                    
3221
                         */
3221
					/* If the content-length is unknown
3222
                        if (unknown_content_length || s->is_chunked) {
3222
                     * or larger then 4Gb do not send it.
3223
                            if (JK_IS_DEBUG_LEVEL(logger)) {
3223
                     */
3224
                                jk_log(logger, JK_LOG_DEBUG,
3224
                    if (unknown_content_length || s->is_chunked) {
3225
                                       "Header Content-Length is %s",
3225
                        if (JK_IS_DEBUG_LEVEL(logger)) {
3226
                                       s->is_chunked ? "chunked" : "unknown");
3226
                            jk_log(logger, JK_LOG_DEBUG,
3227
                            }
3227
                                  "Header Content-Length is %s",
3228
                            real_header = JK_FALSE;
3228
                                   s->is_chunked ? "chunked" : "unknown");
3229
                        }
3229
                        }
3230
                        cnt--;
3231
                        real_header = JK_FALSE;
3230
                    }
3232
                    }
3233
3231
                    if (real_header)
3234
                    if (real_header)
3232
                        s->headers_names[i] = tmp;
3235
                        s->headers_names[i] = tmp;
3233
                }
3236
                }

Return to bug 50975