svn commit: r1585086 - /tomcat/tc6.0.x/trunk/STATUS.txt

2014-04-05 Thread kkolinko
Author: kkolinko
Date: Sat Apr  5 12:42:47 2014
New Revision: 1585086

URL: http://svn.apache.org/r1585086
Log:
proposal

Modified:
tomcat/tc6.0.x/trunk/STATUS.txt

Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=1585086&r1=1585085&r2=1585086&view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Sat Apr  5 12:42:47 2014
@@ -73,6 +73,14 @@ PATCHES PROPOSED TO BACKPORT:
   kkolinko: Thank you. Changing the vote to +1.
   -1:
 
+* Add a work around for validating XML documents (often TLDs) that use
+  just the file name to refer to refer to the JavaEE schema on which they
+  are based.
+  (Backport of r1579931)
+  
https://people.apache.org/~kkolinko/patches/2014-04-05_tc6_LocalResolver_nameOnly.patch
+  +1: kkolinko
+  -1:
+
 
 PATCHES/ISSUES THAT ARE STALLED:
 



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 56352] New: tomcat-connectors-1.2.39-windows-x86_64-iis does not resolve worked DNS names

2014-04-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56352

Bug ID: 56352
   Summary: tomcat-connectors-1.2.39-windows-x86_64-iis does not
resolve worked DNS names
   Product: Tomcat Connectors
   Version: 1.2.39
  Hardware: PC
Status: NEW
  Severity: normal
  Priority: P2
 Component: isapi
  Assignee: dev@tomcat.apache.org
  Reporter: knst.koli...@gmail.com

Following the "tomcat-connectors-1.2.39-windows-x86_64-iis does not work"
thread on users list, from April 2rd

http://marc.info/?t=13964450754&r=1&w=2
http://tomcat.markmail.org/message/sb7vbobngdqig5v6

It boils down to the following:
The following works:

> worker.ajp13w.host=127.0.0.1

The following does not work:

> worker.ajp13w.host=localhost

and connector tries to connect to 0.0.0.0:
jk_open_socket::jk_connect.c (735): connect to 0.0.0.0:8009 failed (errno=49)


Looking at svn history, I see that implementation of method jk_resolve() was
changed in r1529803 for the case when APR library is not available.

Reviewing the code of jk_resolve() in jk_connect.c, I see the following issue:
line 484
[[[
 freeaddrinfo(ai_list);
 ...
 memcpy(&(saddr->sa), ai->ai_addr, ai->ai_addrlen);
]]]

The "ai" variable is a pointer to the chosen item in "ai_list" linked list of
addresses returned by getaddrinfo(). The bug is that freeaddrinfo(ai_list) is
called too early, before the information is copied away.


Also, the following on lines 436-441:
[[[
#if JK_HAVE_IPV6
if (prefer_ipv6)
hints.ai_family = JK_INET6;
else
#endif
hints.ai_family = JK_INET;
]]]
As "hints" is a structure that is passed to getaddrinfo() method, I would
expect those assignments to use AF_INET, AF_INET6. I suspect that this is
non-issue, as those defines should be defined as equal to AF_xx constants
anyway, but other code later uses AF_xx constants, so I expect the AF_xx ones
to be used here as well.
("if (ai->ai_family == AF_INET6)")

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 56352] tomcat-connectors-1.2.39-windows-x86_64-iis does not resolve workers DNS names

2014-04-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56352

Konstantin Kolinko  changed:

   What|Removed |Added

Summary|tomcat-connectors-1.2.39-wi |tomcat-connectors-1.2.39-wi
   |ndows-x86_64-iis does not   |ndows-x86_64-iis does not
   |resolve worked DNS names|resolve workers DNS names
 OS||All

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 56352] tomcat-connectors-1.2.39-windows-x86_64-iis does not resolve workers DNS names

2014-04-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56352

--- Comment #1 from Konstantin Kolinko  ---
Created attachment 31484
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31484&action=edit
2014-04-05_jk_56352_jkresolve_v1.patch

Patch for the issue (not tested).

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org