rbb         99/01/29 07:48:28

  Modified:    pthreads/src/modules/proxy proxy_cache.c
  Log:
  Changes to allow mod_proxy to compile for the threaded server.  I haven't
  tested these, but at least it will compile now.  I'll test them after the
  server is a bit more stable.
  
  Revision  Changes    Path
  1.2       +5 -5      apache-apr/pthreads/src/modules/proxy/proxy_cache.c
  
  Index: proxy_cache.c
  ===================================================================
  RCS file: /home/cvs/apache-apr/pthreads/src/modules/proxy/proxy_cache.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- proxy_cache.c     1999/01/21 23:08:35     1.1
  +++ proxy_cache.c     1999/01/29 15:48:28     1.2
  @@ -638,7 +638,7 @@
       if (imstr != NULL) {
   /* this may modify the value in the original table */
        imstr = ap_proxy_date_canon(r->pool, imstr);
  -     c->ims = ap_parseHTTPdate(imstr);
  +     c->ims = ap_parseHTTPdate(imstr, &(c->ims));
        if (c->ims == BAD_DATE) /* bad or out of range date; remove it */
            ap_table_unset(r->headers_in, "If-Modified-Since");
       }
  @@ -793,7 +793,7 @@
    */
       expire = ap_table_get(resp_hdrs, "Expires");
       if (expire != NULL)
  -     expc = ap_parseHTTPdate(expire);
  +     expc = ap_parseHTTPdate(expire, &expc);
       else
        expc = BAD_DATE;
   
  @@ -802,7 +802,7 @@
    */
       lmods = ap_table_get(resp_hdrs, "Last-Modified");
       if (lmods != NULL) {
  -     lmod = ap_parseHTTPdate(lmods);
  +     lmod = ap_parseHTTPdate(lmods, &lmod);
        if (lmod == BAD_DATE) {
   /* kill last modified date */
            lmods = NULL;
  @@ -847,7 +847,7 @@
    */
       dates = ap_table_get(resp_hdrs, "Date");
       if (dates != NULL)
  -     date = ap_parseHTTPdate(dates);
  +     date = ap_parseHTTPdate(dates, &date);
       else
        date = BAD_DATE;
   
  @@ -881,7 +881,7 @@
       if (expire == NULL && c->fp != NULL) {   /* no expiry data sent in 
response */
        expire = ap_table_get(c->hdrs, "Expires");
        if (expire != NULL)
  -         expc = ap_parseHTTPdate(expire);
  +         expc = ap_parseHTTPdate(expire, &expc);
       }
   /* so we now have the expiry date */
   /* if no expiry date then
  
  
  

Reply via email to