Produced by Araxis Merge on Mon Mar 6 17:40:23 2006 UTC. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a reasonably standards compliant browser such as the latest version of Firefox or Internet Explorer. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | C:\Merge Test Files\4.0.6\catalina\src\share\org\apache\catalina\connector\http10 | HttpConnector.java | Tue Oct 8 15:15:36 2002 UTC |
| 2 | C:\Merge Test Files\4.1.18\catalina\src\share\org\apache\catalina\connector\http10 | HttpConnector.java | Thu Dec 19 13:49:44 2002 UTC |
| 3 | C:\Merge Test Files\4.1.24\catalina\src\share\org\apache\catalina\connector\http10 | HttpConnector.java | Wed Mar 19 09:18:38 2003 UTC |
| Note: Merge considers the second file to be the common ancestor of the others. | |||
| Description | Between Files 1 and 2 |
Between Files 2 and 3 |
Relative to Common Ancestor |
|||
|---|---|---|---|---|---|---|
| Text Blocks | Lines | Text Blocks | Lines | Text Blocks | Lines | |
| Unchanged | 11 | 1088 | 1 | 1147 | ||
| Changed | 5 | 46 | 0 | 0 | 5 | 46 |
| Inserted | 5 | 21 | 0 | 0 | 0 | 0 |
| Removed | 0 | 0 | 0 | 0 | 5 | 21 |
| Note: An automatic merge would leave 0 conflict(s). | ||||||
| Whitespace | All differences in whitespace within lines are ignored |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | /* | 1 | /* | 1 | /* | |||||
| 2 |
*
$Header:
/home/cvs/
jakarta-to
mcat-4.0/c
atalina/sr
c/share/or
g/apache/c
atalina/co
nnector/ht
tp10/HttpC
onnector.j
ava,v
1.1
2
200
1
/0
9
/1
1
1
7:
33
:
|
2 |
*
$Header:
/home/cvs/
jakarta-to
mcat-4.0/c
atalina/sr
c/share/or
g/apache/c
atalina/co
nnector/ht
tp10/HttpC
onnector.j
ava,v
1.1
7
200
2
/0
3
/1
8
0
7:
15
:
4
0
|
2 | * $Header : /home/cv s/jakarta- tomcat-4.0 /catalina/ src/share/ org/apache /catalina/ connector/ http10/Htt pConnector .java,v 1. 17 2002/03 /18 07:15: 40 remm Ex p $ | |||||
| 3 | * $Revision: 1.1 2 $ | 3 | * $Revision: 1.1 7 $ | 3 | * $Revisi on: 1.17 $ | |||||
| 4 |
*
$Date:
200
1
/0
9
/1
1
1
7:
33
:
|
4 |
*
$Date:
200
2
/0
3
/1
8
0
7:
15
:
4
0
|
4 | * $Date: 2002/03/18 07:15:40 $ | |||||
| 5 | * | 5 | * | 5 | * | |||||
| 6 | * ======= ========== ========== ========== ========== ========== ========== = | 6 | * ======= ========== ========== ========== ========== ========== ========== = | 6 | * ======= ========== ========== ========== ========== ========== ========== = | |||||
| 7 | * | 7 | * | 7 | * | |||||
| 8 | * The Apa che Softwa re License , Version 1.1 | 8 | * The Apa che Softwa re License , Version 1.1 | 8 | * The Apa che Softwa re License , Version 1.1 | |||||
| 9 | * | 9 | * | 9 | * | |||||
| 10 | * Copyrig ht (c) 199 9 The Apac he Softwar e Foundati on. All r ights | 10 | * Copyrig ht (c) 199 9 The Apac he Softwar e Foundati on. All r ights | 10 | * Copyrig ht (c) 199 9 The Apac he Softwar e Foundati on. All r ights | |||||
| 11 | * reserve d. | 11 | * reserve d. | 11 | * reserve d. | |||||
| 12 | * | 12 | * | 12 | * | |||||
| 13 | * Redistr ibution an d use in s ource and binary for ms, with o r without | 13 | * Redistr ibution an d use in s ource and binary for ms, with o r without | 13 | * Redistr ibution an d use in s ource and binary for ms, with o r without | |||||
| 14 | * modific ation, are permitted provided that the f ollowing c onditions | 14 | * modific ation, are permitted provided that the f ollowing c onditions | 14 | * modific ation, are permitted provided that the f ollowing c onditions | |||||
| 15 | * are met : | 15 | * are met : | 15 | * are met : | |||||
| 16 | * | 16 | * | 16 | * | |||||
| 17 | * 1. Redi stribution s of sourc e code mus t retain t he above c opyright | 17 | * 1. Redi stribution s of sourc e code mus t retain t he above c opyright | 17 | * 1. Redi stribution s of sourc e code mus t retain t he above c opyright | |||||
| 18 | * noti ce, this l ist of con ditions an d the foll owing disc laimer. | 18 | * noti ce, this l ist of con ditions an d the foll owing disc laimer. | 18 | * noti ce, this l ist of con ditions an d the foll owing disc laimer. | |||||
| 19 | * | 19 | * | 19 | * | |||||
| 20 | * 2. Redi stribution s in binar y form mus t reproduc e the abov e copyrigh t | 20 | * 2. Redi stribution s in binar y form mus t reproduc e the abov e copyrigh t | 20 | * 2. Redi stribution s in binar y form mus t reproduc e the abov e copyrigh t | |||||
| 21 | * noti ce, this l ist of con ditions an d the foll owing disc laimer in | 21 | * noti ce, this l ist of con ditions an d the foll owing disc laimer in | 21 | * noti ce, this l ist of con ditions an d the foll owing disc laimer in | |||||
| 22 | * the documentat ion and/or other mat erials pro vided with the | 22 | * the documentat ion and/or other mat erials pro vided with the | 22 | * the documentat ion and/or other mat erials pro vided with the | |||||
| 23 | * dist ribution. | 23 | * dist ribution. | 23 | * dist ribution. | |||||
| 24 | * | 24 | * | 24 | * | |||||
| 25 | * 3. The end-user d ocumentati on include d with the redistrib ution, if | 25 | * 3. The end-user d ocumentati on include d with the redistrib ution, if | 25 | * 3. The end-user d ocumentati on include d with the redistrib ution, if | |||||
| 26 | * any, must incl ude the fo llowing ac knowlegeme nt: | 26 | * any, must incl ude the fo llowing ac knowlegeme nt: | 26 | * any, must incl ude the fo llowing ac knowlegeme nt: | |||||
| 27 | * " This produ ct include s software developed by the | 27 | * " This produ ct include s software developed by the | 27 | * " This produ ct include s software developed by the | |||||
| 28 | * Apache Sof tware Foun dation (ht tp://www.a pache.org/ )." | 28 | * Apache Sof tware Foun dation (ht tp://www.a pache.org/ )." | 28 | * Apache Sof tware Foun dation (ht tp://www.a pache.org/ )." | |||||
| 29 | * Alte rnately, t his acknow legement m ay appear in the sof tware itse lf, | 29 | * Alte rnately, t his acknow legement m ay appear in the sof tware itse lf, | 29 | * Alte rnately, t his acknow legement m ay appear in the sof tware itse lf, | |||||
| 30 | * if a nd whereve r such thi rd-party a cknowlegem ents norma lly appear . | 30 | * if a nd whereve r such thi rd-party a cknowlegem ents norma lly appear . | 30 | * if a nd whereve r such thi rd-party a cknowlegem ents norma lly appear . | |||||
| 31 | * | 31 | * | 31 | * | |||||
| 32 | * 4. The names "The Jakarta P roject", " Tomcat", a nd "Apache Software | 32 | * 4. The names "The Jakarta P roject", " Tomcat", a nd "Apache Software | 32 | * 4. The names "The Jakarta P roject", " Tomcat", a nd "Apache Software | |||||
| 33 | * Foun dation" mu st not be used to en dorse or p romote pro ducts deri ved | 33 | * Foun dation" mu st not be used to en dorse or p romote pro ducts deri ved | 33 | * Foun dation" mu st not be used to en dorse or p romote pro ducts deri ved | |||||
| 34 | * from this soft ware witho ut prior w ritten per mission. F or written | 34 | * from this soft ware witho ut prior w ritten per mission. F or written | 34 | * from this soft ware witho ut prior w ritten per mission. F or written | |||||
| 35 | * perm ission, pl ease conta ct apache@ apache.org . | 35 | * perm ission, pl ease conta ct apache@ apache.org . | 35 | * perm ission, pl ease conta ct apache@ apache.org . | |||||
| 36 | * | 36 | * | 36 | * | |||||
| 37 | * 5. Prod ucts deriv ed from th is softwar e may not be called "Apache" | 37 | * 5. Prod ucts deriv ed from th is softwar e may not be called "Apache" | 37 | * 5. Prod ucts deriv ed from th is softwar e may not be called "Apache" | |||||
| 38 | * nor may "Apach e" appear in their n ames witho ut prior w ritten | 38 | * nor may "Apach e" appear in their n ames witho ut prior w ritten | 38 | * nor may "Apach e" appear in their n ames witho ut prior w ritten | |||||
| 39 | * perm ission of the Apache Group. | 39 | * perm ission of the Apache Group. | 39 | * perm ission of the Apache Group. | |||||
| 40 | * | 40 | * | 40 | * | |||||
| 41 | * THIS SO FTWARE IS PROVIDED ` `AS IS'' A ND ANY EXP RESSED OR IMPLIED | 41 | * THIS SO FTWARE IS PROVIDED ` `AS IS'' A ND ANY EXP RESSED OR IMPLIED | 41 | * THIS SO FTWARE IS PROVIDED ` `AS IS'' A ND ANY EXP RESSED OR IMPLIED | |||||
| 42 | * WARRANT IES, INCLU DING, BUT NOT LIMITE D TO, THE IMPLIED WA RRANTIES | 42 | * WARRANT IES, INCLU DING, BUT NOT LIMITE D TO, THE IMPLIED WA RRANTIES | 42 | * WARRANT IES, INCLU DING, BUT NOT LIMITE D TO, THE IMPLIED WA RRANTIES | |||||
| 43 | * OF MERC HANTABILIT Y AND FITN ESS FOR A PARTICULAR PURPOSE A RE | 43 | * OF MERC HANTABILIT Y AND FITN ESS FOR A PARTICULAR PURPOSE A RE | 43 | * OF MERC HANTABILIT Y AND FITN ESS FOR A PARTICULAR PURPOSE A RE | |||||
| 44 | * DISCLAI MED. IN N O EVENT SH ALL THE AP ACHE SOFTW ARE FOUNDA TION OR | 44 | * DISCLAI MED. IN N O EVENT SH ALL THE AP ACHE SOFTW ARE FOUNDA TION OR | 44 | * DISCLAI MED. IN N O EVENT SH ALL THE AP ACHE SOFTW ARE FOUNDA TION OR | |||||
| 45 | * ITS CON TRIBUTORS BE LIABLE FOR ANY DI RECT, INDI RECT, INCI DENTAL, | 45 | * ITS CON TRIBUTORS BE LIABLE FOR ANY DI RECT, INDI RECT, INCI DENTAL, | 45 | * ITS CON TRIBUTORS BE LIABLE FOR ANY DI RECT, INDI RECT, INCI DENTAL, | |||||
| 46 | * SPECIAL , EXEMPLAR Y, OR CONS EQUENTIAL DAMAGES (I NCLUDING, BUT NOT | 46 | * SPECIAL , EXEMPLAR Y, OR CONS EQUENTIAL DAMAGES (I NCLUDING, BUT NOT | 46 | * SPECIAL , EXEMPLAR Y, OR CONS EQUENTIAL DAMAGES (I NCLUDING, BUT NOT | |||||
| 47 | * LIMITED TO, PROCU REMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF | 47 | * LIMITED TO, PROCU REMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF | 47 | * LIMITED TO, PROCU REMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF | |||||
| 48 | * USE, DA TA, OR PRO FITS; OR B USINESS IN TERRUPTION ) HOWEVER CAUSED AND | 48 | * USE, DA TA, OR PRO FITS; OR B USINESS IN TERRUPTION ) HOWEVER CAUSED AND | 48 | * USE, DA TA, OR PRO FITS; OR B USINESS IN TERRUPTION ) HOWEVER CAUSED AND | |||||
| 49 | * ON ANY THEORY OF LIABILITY, WHETHER I N CONTRACT , STRICT L IABILITY, | 49 | * ON ANY THEORY OF LIABILITY, WHETHER I N CONTRACT , STRICT L IABILITY, | 49 | * ON ANY THEORY OF LIABILITY, WHETHER I N CONTRACT , STRICT L IABILITY, | |||||
| 50 | * OR TORT (INCLUDIN G NEGLIGEN CE OR OTHE RWISE) ARI SING IN AN Y WAY OUT | 50 | * OR TORT (INCLUDIN G NEGLIGEN CE OR OTHE RWISE) ARI SING IN AN Y WAY OUT | 50 | * OR TORT (INCLUDIN G NEGLIGEN CE OR OTHE RWISE) ARI SING IN AN Y WAY OUT | |||||
| 51 | * OF THE USE OF THI S SOFTWARE , EVEN IF ADVISED OF THE POSSI BILITY OF | 51 | * OF THE USE OF THI S SOFTWARE , EVEN IF ADVISED OF THE POSSI BILITY OF | 51 | * OF THE USE OF THI S SOFTWARE , EVEN IF ADVISED OF THE POSSI BILITY OF | |||||
| 52 | * SUCH DA MAGE. | 52 | * SUCH DA MAGE. | 52 | * SUCH DA MAGE. | |||||
| 53 | * ======= ========== ========== ========== ========== ========== ========== = | 53 | * ======= ========== ========== ========== ========== ========== ========== = | 53 | * ======= ========== ========== ========== ========== ========== ========== = | |||||
| 54 | * | 54 | * | 54 | * | |||||
| 55 | * This so ftware con sists of v oluntary c ontributio ns made by many | 55 | * This so ftware con sists of v oluntary c ontributio ns made by many | 55 | * This so ftware con sists of v oluntary c ontributio ns made by many | |||||
| 56 | * individ uals on be half of th e Apache S oftware Fo undation. For more | 56 | * individ uals on be half of th e Apache S oftware Fo undation. For more | 56 | * individ uals on be half of th e Apache S oftware Fo undation. For more | |||||
| 57 | * informa tion on th e Apache S oftware Fo undation, please see | 57 | * informa tion on th e Apache S oftware Fo undation, please see | 57 | * informa tion on th e Apache S oftware Fo undation, please see | |||||
| 58 | * <http:/ /www.apach e.org/>. | 58 | * <http:/ /www.apach e.org/>. | 58 | * <http:/ /www.apach e.org/>. | |||||
| 59 | * | 59 | * | 59 | * | |||||
| 60 | * [Additi onal notic es, if req uired by p rior licen sing condi tions] | 60 | * [Additi onal notic es, if req uired by p rior licen sing condi tions] | 60 | * [Additi onal notic es, if req uired by p rior licen sing condi tions] | |||||
| 61 | * | 61 | * | 61 | * | |||||
| 62 | */ | 62 | */ | 62 | */ | |||||
| 63 | 63 | 63 | ||||||||
| 64 | 64 | 64 | ||||||||
| 65 | package or g.apache.c atalina.co nnector.ht tp10; | 65 | package or g.apache.c atalina.co nnector.ht tp10; | 65 | package or g.apache.c atalina.co nnector.ht tp10; | |||||
| 66 | 66 | 66 | ||||||||
| 67 | 67 | 67 | ||||||||
| 68 | import jav a.io.IOExc eption; | 68 | import jav a.io.IOExc eption; | 68 | import jav a.io.IOExc eption; | |||||
| 69 | import jav a.net.Inet Address; | 69 | import jav a.net.Inet Address; | 69 | import jav a.net.Inet Address; | |||||
| 70 | import jav a.net.Serv erSocket; | 70 | import jav a.net.Serv erSocket; | 70 | import jav a.net.Serv erSocket; | |||||
| 71 | import jav a.net.Sock et; | 71 | import jav a.net.Sock et; | 71 | import jav a.net.Sock et; | |||||
| 72 | import jav a.security .AccessCon trolExcept ion; | 72 | import jav a.security .AccessCon trolExcept ion; | 72 | import jav a.security .AccessCon trolExcept ion; | |||||
| 73 | import jav a.util.Sta ck; | 73 | import jav a.util.Sta ck; | 73 | import jav a.util.Sta ck; | |||||
| 74 | import jav a.util.Vec tor; | 74 | import jav a.util.Vec tor; | 74 | import jav a.util.Vec tor; | |||||
| 75 | import jav a.security .KeyStoreE xception; | 75 | import jav a.security .KeyStoreE xception; | |||||||
| 76 | import jav a.security .NoSuchAlg orithmExce ption; | 76 | import jav a.security .NoSuchAlg orithmExce ption; | |||||||
| 77 | import jav a.security .cert.Cert ificateExc eption; | 77 | import jav a.security .cert.Cert ificateExc eption; | |||||||
| 78 | import jav a.security .Unrecover ableKeyExc eption; | 78 | import jav a.security .Unrecover ableKeyExc eption; | |||||||
| 79 | import jav a.security .KeyManage mentExcept ion; | 79 | import jav a.security .KeyManage mentExcept ion; | |||||||
| 75 | import org .apache.ca talina.Con nector; | 80 | import org .apache.ca talina.Con nector; | 80 | import org .apache.ca talina.Con nector; | |||||
| 76 | import org .apache.ca talina.Con tainer; | 81 | import org .apache.ca talina.Con tainer; | 81 | import org .apache.ca talina.Con tainer; | |||||
| 77 | import org .apache.ca talina.Htt pRequest; | 82 | import org .apache.ca talina.Htt pRequest; | 82 | import org .apache.ca talina.Htt pRequest; | |||||
| 78 | import org .apache.ca talina.Htt pResponse; | 83 | import org .apache.ca talina.Htt pResponse; | 83 | import org .apache.ca talina.Htt pResponse; | |||||
| 79 | import org .apache.ca talina.Lif ecycle; | 84 | import org .apache.ca talina.Lif ecycle; | 84 | import org .apache.ca talina.Lif ecycle; | |||||
| 80 | import org .apache.ca talina.Lif ecycleEven t; | 85 | import org .apache.ca talina.Lif ecycleEven t; | 85 | import org .apache.ca talina.Lif ecycleEven t; | |||||
| 81 | import org .apache.ca talina.Lif ecycleExce ption; | 86 | import org .apache.ca talina.Lif ecycleExce ption; | 86 | import org .apache.ca talina.Lif ecycleExce ption; | |||||
| 82 | import org .apache.ca talina.Lif ecycleList ener; | 87 | import org .apache.ca talina.Lif ecycleList ener; | 87 | import org .apache.ca talina.Lif ecycleList ener; | |||||
| 83 | import org .apache.ca talina.Log ger; | 88 | import org .apache.ca talina.Log ger; | 88 | import org .apache.ca talina.Log ger; | |||||
| 84 | import org .apache.ca talina.Req uest; | 89 | import org .apache.ca talina.Req uest; | 89 | import org .apache.ca talina.Req uest; | |||||
| 85 | import org .apache.ca talina.Res ponse; | 90 | import org .apache.ca talina.Res ponse; | 90 | import org .apache.ca talina.Res ponse; | |||||
| 86 | import org .apache.ca talina.Ser vice; | 91 | import org .apache.ca talina.Ser vice; | 91 | import org .apache.ca talina.Ser vice; | |||||
| 87 | import org .apache.ca talina.net .DefaultSe rverSocket Factory; | 92 | import org .apache.ca talina.net .DefaultSe rverSocket Factory; | 92 | import org .apache.ca talina.net .DefaultSe rverSocket Factory; | |||||
| 88 | import org .apache.ca talina.net .ServerSoc ketFactory ; | 93 | import org .apache.ca talina.net .ServerSoc ketFactory ; | 93 | import org .apache.ca talina.net .ServerSoc ketFactory ; | |||||
| 89 | import org .apache.ca talina.uti l.Lifecycl eSupport; | 94 | import org .apache.ca talina.uti l.Lifecycl eSupport; | 94 | import org .apache.ca talina.uti l.Lifecycl eSupport; | |||||
| 90 | import org .apache.ca talina.uti l.StringMa nager; | 95 | import org .apache.ca talina.uti l.StringMa nager; | 95 | import org .apache.ca talina.uti l.StringMa nager; | |||||
| 91 | 96 | 96 | ||||||||
| 92 | 97 | 97 | ||||||||
| 93 | /** | 98 | /** | 98 | /** | |||||
| 94 | * Simple implementa tion of an HTTP/1.0 Connector, for testi ng and deb ugging | 99 | * Simple implementa tion of an HTTP/1.0 Connector, for testi ng and deb ugging | 99 | * Simple implementa tion of an HTTP/1.0 Connector, for testi ng and deb ugging | |||||
| 95 | * purpose s. Not in tended to be the fin al solutio n. | 100 | * purpose s. Not in tended to be the fin al solutio n. | 100 | * purpose s. Not in tended to be the fin al solutio n. | |||||
| 96 | * | 101 | * | 101 | * | |||||
| 97 | * @author Craig R. McClanahan | 102 | * @author Craig R. McClanahan | 102 | * @author Craig R. McClanahan | |||||
| 98 |
*
@version
$Revision:
1.1
2
$
$Date:
200
1
/0
9
/1
1
1
7:
33
:
|
103 |
*
@version
$Revision:
1.1
7
$
$Date:
200
2
/0
3
/1
8
0
7:
15
:
4
0
|
103 | * @versio n $Revisio n: 1.17 $ $Date: 200 2/03/18 07 :15:40 $ | |||||
| 104 | * @deprec ated | 104 | * @deprec ated | |||||||
| 99 | */ | 105 | */ | 105 | */ | |||||
| 100 | 106 | 106 | ||||||||
| 101 | 107 | 107 | ||||||||
| 102 | public fin al class H ttpConnect or | 108 | public fin al class H ttpConnect or | 108 | public fin al class H ttpConnect or | |||||
| 103 | implem ents Conne ctor, Life cycle, Run nable { | 109 | implem ents Conne ctor, Life cycle, Run nable { | 109 | implem ents Conne ctor, Life cycle, Run nable { | |||||
| 104 | 110 | 110 | ||||||||
| 105 | 111 | 111 | ||||||||
| 106 | // --- ---------- ---------- ---------- ---------- ---------- Instance Variables | 112 | // --- ---------- ---------- ---------- ---------- ---------- Instance Variables | 112 | // --- ---------- ---------- ---------- ---------- ---------- Instance Variables | |||||
| 107 | 113 | 113 | ||||||||
| 108 | 114 | 114 | ||||||||
| 109 | /** | 115 | /** | 115 | /** | |||||
| 110 | * The accept co unt for th is Connect or. | 116 | * The accept co unt for th is Connect or. | 116 | * The accept co unt for th is Connect or. | |||||
| 111 | */ | 117 | */ | 117 | */ | |||||
| 112 | privat e int acce ptCount = 10; | 118 | privat e int acce ptCount = 10; | 118 | privat e int acce ptCount = 10; | |||||
| 113 | 119 | 119 | ||||||||
| 114 | 120 | 120 | ||||||||
| 115 | /** | 121 | /** | 121 | /** | |||||
| 116 | * The IP addres s on which to bind, if any. I f <code>nu ll</code>, all | 122 | * The IP addres s on which to bind, if any. I f <code>nu ll</code>, all | 122 | * The IP addres s on which to bind, if any. I f <code>nu ll</code>, all | |||||
| 117 | * add resses on the server will be b ound. | 123 | * add resses on the server will be b ound. | 123 | * add resses on the server will be b ound. | |||||
| 118 | */ | 124 | */ | 124 | */ | |||||
| 119 | privat e String a ddress = n ull; | 125 | privat e String a ddress = n ull; | 125 | privat e String a ddress = n ull; | |||||
| 120 | 126 | 126 | ||||||||
| 121 | ||||||||||