tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Saegesser <Marc.Saeges...@apropos.com>
Subject RE: [j-t-c] Thread problem in jk_uri_worker_map.c
Date Fri, 29 Aug 2003 22:15:16 GMT
Grrrr, the attachment got stripped from my last message.  Here's the diff
inline:

Index: jk_connect.c
===================================================================
RCS file:
/home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_connect.c,v
retrieving revision 1.12
diff -u -r1.12 jk_connect.c
--- jk_connect.c	29 Aug 2003 13:07:52 -0000	1.12
+++ jk_connect.c	29 Aug 2003 21:37:12 -0000
@@ -101,6 +101,9 @@
 #include "apr_general.h"
 #endif
 
+#if defined(WIN32)
+typedef u_long in_addr_t;
+#endif
 /** resolve the host IP */
  
 int jk_resolve(char *host,


-- Marc
 

> -----Original Message-----
> From: Marc Saegesser [mailto:Marc.Saegesser@apropos.com]
> Sent: Friday, August 29, 2003 4:41 PM
> To: Tomcat Developers List
> Subject: RE: [j-t-c] Thread problem in jk_uri_worker_map.c
> 
> The file common/jk_connect.c no longer compiles on Win32 because the
> in_addr_t type is not defined on that platform.  The attached patch fixes
> the build problem, but there is probably a better way.
> 
> -- Marc
> 
> 
> > -----Original Message-----
> > From: Glenn Nielsen [mailto:glenn@mail.more.net]
> > Sent: Wednesday, August 27, 2003 8:55 AM
> > To: Tomcat Developers List
> > Subject: Re: [j-t-c] Thread problem in jk_uri_worker_map.c
> >
> > Henri Gomez wrote:
> > > Marc Saegesser a écrit :
> > >
> > >> That makes sense.  The manipulations that map_uri_to_worker() does
> > always
> > >> make the string shorter so there is no need to worry about the
> > modifiable
> > >> string passed in being too short and needing reallocated.
> > >>
> > >> Trying to fix this in the jk/common code is, I think, a waste of
> > effort.
> > >>
> > >> -- Marc
> > >
> > >
> > > A good reason to have delayed jk 1.2.5 ;)
> > >
> >
> > Ok, I have seen Henri's commit for the in_addr build fix.
> > And I have seen Bill's patches for the uri mapping thread safe
> > bug.
> >
> > If I don't hear about any more open items/bugs  for mod_jk 1.2.5 in the
> > next
> > few days I will generate another test release distribution over the
> > weekend.
> >
> > Regards,
> >
> > Glenn
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 


Mime
View raw message