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

(-)httpd-2.2.17_orig/modules/arch/win32/mod_isapi.c (+20 lines)
Lines 1500-1505 Link Here
1500
    cid->ecb->ReadClient = ReadClient;
1500
    cid->ecb->ReadClient = ReadClient;
1501
    cid->ecb->ServerSupportFunction = ServerSupportFunction;
1501
    cid->ecb->ServerSupportFunction = ServerSupportFunction;
1502
1502
1503
    /* Chunked mode POST's (Expect: 100-continue) are transparently 
1504
     * supported by IIS Http.sys kernel driver, i.e., IIS driver by 
1505
     * default acknowledges 100(continue) to expect 100-continue POST 
1506
     * protocol to pull down the POST data and below code segment 
1507
     * imitates IIS HTTP.sys kernel driver behavior
1508
     */
1509
	if (r->expecting_100 == 1)
1510
	{
1511
        /* Set status to 200, so that http core (http_filters.c, 
1512
         * ap_http_filter() function, line 334 -> apr_pstrcat(f->r->pool, 
1513
         * AP_SERVER_PROTOCOL, " ", ap_get_status_line(100),... ) gets 
1514
         * invoked to send the continue (100) response to client on next 
1515
         * ap_read call. For 100-continue protocol details refer RFC 
1516
         * http://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html#sec8.2.3 
1517
         */
1518
		r->status = HTTP_OK;    
1519
        ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r, 
1520
                     "Thread: %d, Expect 100-continue issued by client: %s,%s", 
1521
                     GetCurrentThreadId(), r->connection->remote_ip, r->uri);
1522
    }
1503
    /* Set up client input */
1523
    /* Set up client input */
1504
    res = ap_setup_client_block(r, REQUEST_CHUNKED_ERROR);
1524
    res = ap_setup_client_block(r, REQUEST_CHUNKED_ERROR);
1505
    if (res) {
1525
    if (res) {

Return to bug 51080