cvs commit: apache-apr/pthreads/src/main http_main.c http_config.c

1999-01-22 Thread stoddard
stoddard99/01/22 08:10:56

  Modified:pthreads/src/include scoreboard.h
   pthreads/src/main http_main.c http_config.c
  Log:
  Clean-up some comments.
  
  Revision  ChangesPath
  1.2   +1 -1  apache-apr/pthreads/src/include/scoreboard.h
  
  Index: scoreboard.h
  ===
  RCS file: /export/home/cvs/apache-apr/pthreads/src/include/scoreboard.h,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- scoreboard.h  1999/01/21 23:08:32 1.1
  +++ scoreboard.h  1999/01/22 16:10:54 1.2
  @@ -57,7 +57,7 @@
   
   #ifndef APACHE_SCOREBOARD_H
   #define APACHE_SCOREBOARD_H
  -#include pthread.h /* ZZZ WGS added this... */
  +#include pthread.h
   #ifdef __cplusplus
   extern C {
   #endif
  
  
  
  1.2   +9 -9  apache-apr/pthreads/src/main/http_main.c
  
  Index: http_main.c
  ===
  RCS file: /export/home/cvs/apache-apr/pthreads/src/main/http_main.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- http_main.c   1999/01/21 23:08:33 1.1
  +++ http_main.c   1999/01/22 16:10:55 1.2
  @@ -957,7 +957,7 @@
make_sock: for %s, setsockopt: (SO_REUSEADDR), addr);
   printf(make_sock: failed to setsockopt for %s\n, addr);
close(s);
  - return NULL; /* -1 == NULL WGS */
  + return NULL; 
   }
   #endif /*_OSD_POSIX*/
   one = 1;
  @@ -967,7 +967,7 @@
ap_log_error(APLOG_MARK, APLOG_CRIT, server_conf,
make_sock: for %s, setsockopt: (SO_KEEPALIVE), addr);
close(s);
  - return NULL;  /* -1 == NULL WGS */
  + return NULL;
   }
   #endif
   #endif
  @@ -1048,7 +1048,7 @@
found, you probably need to rebuild Apache with a 
larger FD_SETSIZE, addr, s, FD_SETSIZE);
close(s);
  - return NULL; /* -1 == NULL WGS */
  + return NULL;
   }
   #endif
   
  @@ -1085,9 +1085,9 @@
exit(1);
}
*nr = *lr;
  - ap_kill_cleanups_for_socket(p, nr-fd); /* 
ap_kill_cleanups_for_fd|socket ?? WGS */
  + ap_kill_cleanups_for_socket(p, nr-fd); 
nr-next = old_listeners;
  -nr-index = 0; /* WGS from Dean's work... */
  +nr-index = 0; 
old_listeners = nr;
lr = lr-next;
   } while (lr  lr != ap_listeners);
  @@ -1101,7 +1101,7 @@
   for (or = old_listeners; or; or = or-next) {
   printf(find_listener: or-fd = %d\n, or-fd);
if (!memcmp(or-local_addr, lr-local_addr, sizeof(or-local_addr))) {
  - or-index = 1; /* WGS from Dean's work */
  + or-index = 1; 
return or-fd;
}
   }
  @@ -1341,7 +1341,7 @@
   listen_rec *lr;
   int sd; /* filedesc */
   int csd = 0; /* filedesc */
  -ulong len = sizeof(struct sockaddr); /* WGS */
  +ulong len = sizeof(struct sockaddr);
   
   printf(in accept_loop\n);
   
  @@ -1409,7 +1409,7 @@
* socket options, file descriptors, and read/write buffers.
*/
   /* ZZZ change to AP func */
  -if (getsockname(csd, sa_server, len)  0) { /* WGS */
  +if (getsockname(csd, sa_server, len)  0) { 
ap_log_error(APLOG_MARK, APLOG_ERR, server_conf, getsockname);
return;
   }
  @@ -1422,7 +1422,7 @@
   current_conn = new_connection(ptrans, server_conf, conn_io,
 (const struct sockaddr_in *) sa_client, 
 (const struct sockaddr_in *) sa_server, 
  -  my_child_num); /* WGS, why was this 
commented out? */
  +  my_child_num);
   
   /*
* Read and process each request found on our connection
  
  
  
  1.2   +2 -2  apache-apr/pthreads/src/main/http_config.c
  
  Index: http_config.c
  ===
  RCS file: /export/home/cvs/apache-apr/pthreads/src/main/http_config.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- http_config.c 1999/01/21 23:08:33 1.1
  +++ http_config.c 1999/01/22 16:10:55 1.2
  @@ -1445,8 +1445,8 @@
   new-local_addr.sin_family = AF_INET;
   new-local_addr.sin_addr = ap_bind_address;
   new-local_addr.sin_port = htons(s-port ? s-port : DEFAULT_HTTP_PORT);
  -new-fd = NULL; /* -1 == NULL from Dean's work WGS */
  -new-index = 0; /* ditto WGS*/
  +new-fd = NULL;
  +new-index = 0;
   new-next = NULL;
   ap_listeners = new;
   }
  
  
  


cvs commit: apache-1.3/htdocs/manual/misc known_client_problems.html

1999-01-22 Thread dgaudet
dgaudet 99/01/22 10:04:11

  Modified:htdocs/manual/misc known_client_problems.html
  Log:
  add some recent bugs
  
  Revision  ChangesPath
  1.15  +19 -0 apache-1.3/htdocs/manual/misc/known_client_problems.html
  
  Index: known_client_problems.html
  ===
  RCS file: 
/export/home/cvs/apache-1.3/htdocs/manual/misc/known_client_problems.html,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- known_client_problems.html1998/09/17 12:33:02 1.14
  +++ known_client_problems.html1999/01/22 18:04:11 1.15
  @@ -260,6 +260,25 @@
   before the object will be shown with the correct CODEtext/html/CODE
   type.
   
  +h3a name=msie-cookie-y2kMSIE Cookie problem with expiry date in
  +the year 2000/a/h3
  +
  +pMSIE versions 3.00 and 3.02 (without the Y2K patch) do not handle
  +cookie expiry dates in the year 2000 properly.  Years after 2000 and
  +before 2000 work fine.  This is fixed in IE4.01 service pack 1, and in
  +the Y2K patch for IE3.02.  Users should avoid using expiry dates in the
  +year 2000.
  +
  +h3a name=lynx-negotiate-transLynx incorrectly asking for transparent
  +content negotiation/a/h3
  +
  +pThe Lynx browser versions 2.7 and 2.8 send a negotiate: trans header
  +in their requests, which is an indication the browser supports transparent
  +content negotiation (TCN).  However the browser does not support TCN.
  +As of version 1.3.4, Apache supports TCN, and this causes problems with
  +these versions of Lynx.  As a workaround future versions of Apache will
  +ignore this header when sent by the Lynx client.
  +
   !--#include virtual=footer.html --
   /BODY
   /HTML
  
  
  


cvs commit: apache-apr/docs apr-function.txt

1999-01-22 Thread martin
martin  99/01/22 13:11:49

  Modified:docs apr-function.txt
  Log:
  Some fixes (pointers for returned values), typos and the addition of
  APR_BINARY for file I/O.
  
  Revision  ChangesPath
  1.4   +7 -6  apache-apr/docs/apr-function.txt
  
  Index: apr-function.txt
  ===
  RCS file: /export/home/cvs/apache-apr/docs/apr-function.txt,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- apr-function.txt  1999/01/22 15:46:49 1.3
  +++ apr-function.txt  1999/01/22 21:11:48 1.4
  @@ -110,6 +110,7 @@
write
APR_TRUNCATEIf the file is there, length is 
truncated to 0.
  + APR_BINARY  Not a text file.
arg 3)  Access permissions to set for the file if it is created with
APR_CREATE. We haven't decided how exactly we want this to
   work, but it will support the set of Unix permissions at
  @@ -218,7 +219,7 @@
arg 3)  type of address
arg 4)  returns an APRHostEnt structure that has been filled out
 on success.  On failure, it returns NULL.
  - APRStatusapr_enumeratehostent(APRUInt32, const APRHostEnt *, APRUInt16,
  + APRStatus apr_enumeratehostent(APRUInt32, const APRHostEnt *, APRUInt16,
APRNetAddr *, APRInt32);
Evaluate each of the possible address of a Host Entry retrived from
apr_GetHostByName or apr_GetHostByAddr.
  @@ -261,8 +262,8 @@
APRStatus apr_setsocketoption(APRSocket, APRSocketOptionData);
Set options on the specified socket
Arguments:
  - arg 1)  The abstracted socket to APRply the options to
  - arg 2)  The options to be APRplied.  Or'ed together
  + arg 1)  The abstracted socket to apply the options to
  + arg 2)  The options to be applied.  Or'ed together
APRStatus apr_poll(APRPollDesc, APRInt32, APRInt32, APRInt32)
Check an array of File Descriptors for specified events 
Arguments:
  @@ -285,7 +286,7 @@
Arguments:
arg 1)  The file desc of the socket to mark
arg 2)  The size of the listen queue.
  - APRStatus apr_accept(APRSocket, APRNetAddr, APSocket)
  + APRStatus apr_accept(APRSocket, APRNetAddr *, APRSocket *)
extract first connection from listen queue, and sets up a new 
connection on a new socket of the same type and family.  It allocates
a new socket for that connection.
  @@ -314,7 +315,7 @@
am using seconds instead of milliseconds, because HTTP says we only
need second granularity, if this is not granular enough, it is easy to
change later.
  - APRStatus apr_current_time(APRTime)
  + APRStatus apr_current_time(APRTime *)
Returns the number of seconds since the epoch.  define the epoch
as midnight January 1, 1970, UTC.
Arguments:
  @@ -347,7 +348,7 @@
Arguments:
arg 1)  pointer to the new lock object on success.
APRStatus apr_lock(APRLock)
  - Locks the specified lock object
  + Locks the specified lock object (blocking whene necessary)
Arguments:
arg 1) Lock object to be locked.
APRStatus apr_unlock(APRLock);