1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589
|
2011-10-21 Miguel de Icaza <miguel@gnome.org>
Make this build on the MOBILE profile
2011-10-16 Miguel de Icaza <miguel@gnome.org>
Apply patch from Mario Kosmiskaso fix bug 1207: Throw the correct
exception when a REST request returns a 404
.NET throws a EndpointNotFoundException encapsulating a
WebException when a REST request returns a 404.
The attached patch tests for a 404 and throws the same exception
chain thrown by .NET.
2011-10-16 Miguel de Icaza <miguel@gnome.org>
Apply patch from Mario Kosmiskaso fix bug 1207: Check reference
before copying values from Headers
OutgoingWebRequestContext throws a NullReferenceException when
making a REST call. The exception is thrown because there are no
Headers in the context.
Attached patch simply tests for null before copying values from
Headers.
2011-10-16 Miguel de Icaza <miguel@gnome.org>
Apply patch from Mario Kosmiskaso fix bug 1204: Add certificate to
the HttpWebRequest if configured
System.ServiceModel.Channels.HttpRequestChannel never added the
configured certificate to the HttpWebRequest which prevented
client side authentication.
The attached patch does exactly that if a certificate has been
configured.
2011-10-16 Miguel de Icaza <miguel@gnome.org>
Fix bug 1203, relaxes the test for the protocol to allow https
endpoints
2011-08-02 Atsushi Eno <atsushieno@gmail.com>
Merge pull request #143 from mistoll/master
Fixes for WCF BasicHttpBinding with message security
2011-07-22 Atsushi Eno <atsushieno@veritas-vos-liberabit.com>
Avoid possible duplicate xmlns output. Fixes xsp-based hosting
somehow.
2011-07-19 Atsushi Eno <atsushieno@veritas-vos-liberabit.com>
support action parameter in SOAP 1.2 content type. Close pull
request #133.
2011-07-09 Atsushi Eno <atsushieno@veritas-vos-liberabit.com>
Full equivalence comparison is unnecessary for MessageEncoder
ContentType.
based on https://github.com/mono/mono/pull/130
2011-06-14 Atsushi Eno <atsushi@ximian.com>
Set "Encoder" property when Message was read from MessageEncoder.
2011-06-14 Atsushi Eno <atsushi@ximian.com>
finally implement Message.ToString() as in expected form.
Regressions on this method has caused several unpredictable
errors, so I avoided this for somewhat long time...
2011-05-13 Atsushi Eno <atsushi@ximian.com>
Implement WsdlContractConversionContext, and ignore message
importer for now.
2011-04-25 Atsushi Eno <atsushi@ximian.com>
Actual source directory changes after changing namespaces.
2011-04-25 Atsushi Eno <atsushi@ximian.com>
More nettcp namespace changes.
2011-04-25 Atsushi Eno <atsushi@ximian.com>
Move NetTcp namespace to internal one.
2011-04-18 Atsushi Eno <atsushi@ximian.com>
Empty XmlReader message caused failure on buffereed copy.
2011-04-16 Atsushi Eno <atsushi@ximian.com>
Prepare for HostNameComparisonMode support (i.e. incomplete).
This is for bugfix #687580.
2011-04-15 Atsushi Eno <atsushi@ximian.com>
Some argument check in TextMessageEncoder.
2011-04-15 Atsushi Eno <atsushi@ximian.com>
Use correct MessageVersion instead of Default for empty response.
Part of bugfix #687580.
2011-04-07 Atsushi Eno <atsushi@ximian.com>
HttpRequestChannel should also return CookieContainer in NET_2_1
profile.
Fixed bug #683642.
2011-04-02 Atsushi Eno <atsushi@ximian.com>
fix wrong attempt to add restricted headers in HttpRequestChannel.
2011-04-01 Atsushi Eno <atsushi@ximian.com>
Less !NET_2_1/!MOONLIGHT to improve SL4 WCF compatibility.
2011-03-22 Atsushi Eno <atsushi@ximian.com>
Remove unexpected CWL.
2011-03-17 Atsushi Eno <atsushi@ximian.com>
net.tcp Sized message with non-binarysession encoding should work
now.
(Untested checkin.)
2011-03-17 Atsushi Eno <atsushi@ximian.com>
Support encoding record other than binary session in TCP channel
frame reader.
2011-03-16 Atsushi Eno <atsushi@ximian.com>
Implement more encodings than binary frame with dictionary, in TCP
manager.
(not known to not regress in nunit tests..)
2011-03-15 Atsushi Eno <atsushi@ximian.com>
avoid NRE on non-binary encoding use in TcpTransport.
2011-02-24 Atsushi Eno <atsushi@ximian.com>
Pass Actor. use IsNullOrEmpty() instead of "!= String.Empty".
2011-02-18 Atsushi Eno <atsushi@ximian.com>
Almost eliminate wrong use of Constants.WsaNamespace.
They should be addressing-version-aware.
2011-02-15 Atsushi Eno <atsushi@ximian.com>
PeeDuplex ChannelFactory must be opened in prior to create
channels.
2011-01-21 Atsushi Eno <atsushi@ximian.com>
Avoid possible list modification error during close process.
2011-01-21 Atsushi Eno <atsushi@ximian.com>
Make sure to close session once the client opened one.
2011-01-08 Marek Safar <marek.safar@gmail.com>
Fixed missing protected internal modifier
2010-11-11 Sebastien Pouliot <sebastien@ximian.com>
* HttpRequestChannel.cs: Do not use CookieContainer unless we know
its supported (e.g. client stack) otherwise we'll throw (browser
stack)
2010-11-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* MsmqBindingElementBase.cs: Implement ExportPolicy.
2010-11-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ConnectionOrientedTransportBindingElement.cs: Implement
ExportPolicy.
2010-11-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* HttpTransportBindingElement.cs: Implement ExportPolicy.
2010-10-20 Marek Habersack <grendel@twistedcode.net>
[wcf] make /js and /jsdebug dispatchers work.
There were several issues here:
- The IChannelDispatcherBoundListener was defined twice, in two
different namespaces, and it caused code in
ChannelDispatcher.Attach not to set its associated listener's
ChannelDispatcher property to the correct value. This, in turn,
caused incorrect HttpListenerManagerTable operation, where it
would put the "/js" and "/jsdebug" dispatchers in separate
HttpListenerManagers, instead of in the main (base) service's one.
- After fixing the above, it turned out that SvcHttpHandler
selected the manager based on the host's base address, when it
should first try to find one whose URL matches the current request
exactly.
2010-10-20 Atsushi Eno <atsushi@ximian.com>
Add ExtendedProtectionPolicy members. Required by .config files by
.NET svcutil.
2010-10-18 Marek Habersack <grendel@twistedcode.net>
[wcf] ServiceHost directive can span several lines.
2010-10-15 Atsushi Eno <atsushi@ximian.com>
fixity fix.
2010-10-15 Atsushi Eno <atsushi@ximian.com>
Fix 2.1 build.
2010-10-15 Atsushi Eno <atsushi@ximian.com>
Enable SecurityBindingElement.CanBuildChannelListener
implementation again with fix.
2010-10-15 Atsushi Eno <atsushi@ximian.com>
The previous changes somehow regressed on olive samples, so give
quick fixes.
2010-10-15 Atsushi Eno <atsushi@ximian.com>
Implement NetTcpBinding.CanBuildChannelFactory/Listener and
several related stuff.
SecurityTokenParameters.InitializeSecurityTokenRequirement() needs
to become protected internal, so changed all overrides as well.
Some implementation in WindowsStreamSecurityBindingElement is
needed only for NetTcpBinding implementation.
Had to disable a test in SymmetricSecurityBindingElement that
depended on OneWay support (which is not yet done).
2010-10-14 Atsushi Eno <atsushi@ximian.com>
Fill NetTcpBinding security implementation a bit.
2010-09-29 Atsushi Eno <atsushi@ximian.com>
Add missing members.
2010-09-29 Marek Habersack <grendel@twistedcode.net>
[wcf] Make sure context exists in the dictionary getting its
associated wait handle.
SvcHttpHandler maintains a mapping of HttpContext to
ManualResetEvent. Entries are removed from the cache in
EndHttpRequest. The code makes sure the context exists in the
cache before attempting to access it.
2010-09-29 Alan McGovern <alan.mcgovern@gmail.com>
[System.ServiceModel] Fix a few potential exceptions in background
threads
Pass the listener as it's own async state so that we avoid
potential null derefs in the callback. Also wrap the BeginAccept
and EndAccept calls in their own try/catches in case they throw an
exception.
2010-09-29 Atsushi Eno <atsushi@ximian.com>
TCP channel listener: remove extra complication (threads) in the
previous change.
2010-09-28 Atsushi Eno <atsushi@ximian.com>
Rework TCP listening model, and fix AcceptTcpClient() to not drop
timed out requests that actually steals next requests in the air.
2010-09-28 Sebastien Pouliot <sebastien@ximian.com>
* System.ServiceModel.Channels/HttpRequestChannel.cs: For
Moonlight use the WebResponse.SupportsHeaders before accessing the
Headers collection. This is needed because (the default) browser
stack does not expose the headers from its responses. Fix bug
#642193
2010-09-24 Atsushi Eno <atsushi@ximian.com>
Override IsContentTypeSupported() in per-encoding-binding-element
implementation to work as expected.
2010-09-10 Atsushi Eno <atsushi@ximian.com>
Avoid holding WebRequest. This should fix part of bug #636500.
2010-09-03 Jb Evain <jbevain@gmail.com>
Remove workaround for moonlight now that System.dll's
WebExceptionStatus is properly compiled
2010-09-02 Atsushi Eno <atsushi@ximian.com>
moonlight build workaround: smcs somehow rejects to compile this
code.
2010-09-02 Atsushi Eno <atsushi@ximian.com>
Throw EndpointNotFoundException when it cannot connect to the
remote server.
2010-08-11 Atsushi Eno <atsushi@ximian.com>
implement MessageEncodingBindingElement.GetProperty<T>().
2010-08-10 Atsushi Eno <atsushi@ximian.com>
Cosmetic corcompare fix.
2010-07-28 Atsushi Enomoto <atsushi@ximian.com>
* SecurityBindingElement.cs : implement ToString().
2010-07-15 Atsushi Enomoto <atsushi@ximian.com>
* MtomMessageEncodingBindingElement.cs, MtomMessageEncoder.cs :
add missing members.
2010-07-14 Atsushi Enomoto <atsushi@ximian.com>
* BinaryMessageEncoder.cs, MessageEncoder.cs:
The default content type value is null, not the ContentType value.
2010-07-12 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityBindingSupport.cs : and move this too.
2010-07-12 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityBindingSupport.cs : split a couple of classes out.
Changed namespace to internal one.
2010-07-12 Atsushi Enomoto <atsushi@ximian.com>
* SecurityChannelFactory.cs
SecurityChannelListener.cs
SecurityRequestContext.cs
SecurityOutputChannel.cs
SecurityReplyChannel.cs
SecurityRequestChannel.cs
SecureMessageGenerator.cs
SecureMessageDecryptor.cs
WSEncryptedXml.cs
WSSignedXml.cs
WSSecurityMessageHeader.cs :
moved to System.ServiceModel.Channels.Security.
2010-07-12 Atsushi Enomoto <atsushi@ximian.com>
* SecurityReplyChannel.cs : split from SecurityChannelListener.cs.
* AsymmetricSecurityBindingElement.cs
WSSecurityMessageHeader.cs
SecureMessageDecryptor.cs
SecureMessageGenerator.cs
SecurityChannelListener.cs
SecurityRequestContext.cs
WSEncryptedXml.cs
SecurityRequestChannel.cs
SymmetricSecurityBindingElement.cs
SecurityOutputChannel.cs
SecurityChannelFactory.cs
WSSignedXml.cs
SecurityBindingElement.cs : change namespace to move to internal
namespace directory.
2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
* SecurityRequestContext.cs : remove extraneous buffering.
2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
* SecureMessageDecryptor.cs : avoid duplicate copy of headers into
the decrypted message.
2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
* Message.cs, MessageBufferImpl.cs, MessageImpl.cs: preserve and
output attributes prefixes, to copy Body/@wsu:Id to successfully
verify the xmldsig.
2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
* MessageFault.cs : MessageFault from Message could have empty
detail. Have it return HasDetail as expected.
2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
* SecurityRequestChannel.cs : do not try to decrypt faults, they
are not encrypted.
2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeader.cs : to clone raw xml completely, avoid using
ReadOuterXml() and text reader but use XmlNodeReader instaed.
* Message.cs : avoid extraneous xmlns:u attribute.
2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeader.cs, MessageHeaderInfo.cs: add internal Prefix
property and copy them from source to destination.
2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
* MessageImpl.cs : When XmlReaderMessage was writing its contents,
it was dropping body attributes, including wsu:Id for WS-Security.
2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
* SecureMessageGenerator.cs : MessageBuffer was missing copy of
Body wsu:Id attribute.
* HttpRequestChannel.cs : remove comment for resolved issue.
2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
* HttpListenerManager.cs : move another old code.
2010-07-08 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : remove extra code.
2010-07-08 Atsushi Enomoto <atsushi@ximian.com>
* XmlReaderBodyWriter.cs, MessageFault.cs: warning cleanups.
2010-07-06 Atsushi Enomoto <atsushi@ximian.com>
* ChannelFactoryBase.cs : null via uri parameter is not allowed.
2010-07-05 Atsushi Enomoto <atsushi@ximian.com>
* HttpTransportbindingElement.cs : remove "Standalone".
2010-07-05 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs : removed old code and #if blocks.
2010-07-05 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs : add required code for new ASP.NET HTTP stack.
Support for new and old stack (both) are temporarily enabled.
* HttpTransportBindingElement.cs : switch to new ASP.NET stack.
2010-07-02 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandlerFactory.cs : remove unused code.
* SvcHttpHandler.cs : ditto. Add some code for what new asp.net
support will look like.
2010-07-02 Atsushi Enomoto <atsushi@ximian.com>
* Message.cs, MessageImpl.cs, MessageBufferImpl.cs : remove BodyId.
XML attributes on s:Body are handled appropriately, not limited to
wsu:Id. Added several required overrides to Message and
MessageBuffer implementation classes.
* SecureMessageGenerator.cs : so, don't use BodyId. Treat it as a
specific case but still fallback.
2010-06-24 Atsushi Enomoto <atsushi@ximian.com>
* HttpTransportBindingElement.cs :
Use new HTTP channel listener implementation.
2010-06-23 Atsushi Enomoto <atsushi@ximian.com>
* HttpListenerManager.cs : cosmetic code formatting fix.
2010-06-23 Atsushi Enomoto <atsushi@ximian.com>
* HttpListenerManager.cs :
No need to get messed around MetadataPublishingInfo anymore.
2010-06-23 Atsushi Enomoto <atsushi@ximian.com>
* HttpListenerManager.cs : remove extra different code paths for
channel dispatchers with or without mex endpoints.
2010-06-23 Atsushi Enomoto <atsushi@ximian.com>
* HttpListenerManager.cs : simplify FilterHttpContext().
2010-06-22 Atsushi Enomoto <atsushi@ximian.com>
* HttpListenerManager.cs : add some comments.
2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs : use MessageVersion.None for GET messages.
* HttpChannelListener.cs : remove extra field.
* HttpListenerManager.cs : check HelpUrl existence (avoid NRE).
* HttpRequestContext.cs : reduce internal field.
2010-06-17 Atsushi Enomoto <atsushi@ximian.com>
* MtomMessageEncodingBindingElement.cs: it's base is abstract, use
context.GetInnerProperty<T>().
2010-06-17 Atsushi Enomoto <atsushi@ximian.com>
* Binding.cs : enable simpler MessageVersion code (issued got fixed).
* MtomMessageEncodingBindingElement.cs, TransportBindingElement.cs,
TextMessageEncodingBindingElement.cs : return MessageVersion in
GetProperty<T>().
2010-06-17 Atsushi Enomoto <atsushi@ximian.com>
* Binding.cs : add commented-out code for MessageVersion replacement.
* TransactionFlowBindingElement.cs : implement (almost dummy).
2010-06-15 Atsushi Enomoto <atsushi@ximian.com>
* TcpReplyChannel.cs : accept TCP channel on ReceiveRequest(). This
fixes standalone tcp-transport/sample[svc|cli]5.exe test in olive
(but not TcpTransportBindingElementTest.SimpleDuplexStreamed.)
2010-06-15 Atsushi Enomoto <atsushi@ximian.com>
* TcpBinaryFrameManager.cs : lock read and write respectively.
Finally fixed bug #567672 ('IsOneWay=false' case).
2010-05-28 Atsushi Enomoto <atsushi@ximian.com>
* DirectionalAction.cs : remove old code from winfx beta.
2010-05-26 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs, TcpReplyChannel.cs : do not set RelatesTo
here. If the contract is not one-way (IsOneWay = false) and there is
a callback, the callback message sent to the client should *not* be
assigned RelatesTo header here. Just do it in the request-reply
context. Do it in OperationInvokerHandler.
2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs : remove Sleep() hack. The host is now ensured
to wait for channels opened.
2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs : remove unused field. Some code cleanup.
2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs : use manual reset.
* AspNetReplyChannel.cs : make it equivalent to the above.
2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
* HttpChannelListener.cs : do not accept more than one channel at a
time. Remove extra fields. Add CancelAsync() implementation.
2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
* HttpListenerManager.cs : add a workaround for Func<>.BeginInvoke()
problem that blocked ASP.NET channels working.
2010-05-19 Andreia Gaita <avidigal@novell.com>
* HttpRequestChannel.cs: if the response has no body, create an
empty message and return that.
Note: the ws-mc protocol defines that the service returns an
200 response with an empty body on first connection, this
adds support for that (fixes part of #599667)
2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
* DuplexChannelBase.cs
ReplyChannelBase.cs
TcpChannelListener.cs
ChannelListenerBase_1.cs
PeerChannelListener.cs
HttpChannelListener.cs
NamedPipeChannelListener.cs:
do the same for channel listener,reply channels and
duplex channels.
2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
* ChannelFactoryBase.cs, RequestChannelBase.cs : support
MessageVersion in GetProperty<T>() for many transport channels.
2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
* HttpChannelFactory.cs
TcpChannelFactory.cs
ChannelFactoryBase.cs
NamedPipeChannelFactory.cs
PeerChannelFactory.cs
RequestChannelBase.cs : commonize MessageEncoder.
(Commented out GetPrpoerty<T>() for MessageVersion as it is
in doubt yet.)
2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeaders.cs : do not pass empty string array; it almost
always results in header-not-found error.
2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeader.cs : do not try to lookup prefix for empty ns.
2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
* MessageImpl.cs : do not use maxBufferSize for initialSize argument
for MessageHeaders. Fix OutOfMemoryException for certain usage.
2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
* BindingContext.cs : actually clone is needed everywhere else too.
* CustomBinding.cs : remove extra field.
2010-05-14 Andreia Gaita <avidigal@novell.com>
* BindingContext.cs: Copy elements from the original binding only when
creating it, never when cloning it. This way, CanBuildInnerChannel can
work recursively as it should.
2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
* CustomBinding.cs : return clone collection.
* BindingContext.cs :
Simply use RemainingBindingElements in builder methods.
Clone() should be deep copying (as documented).
* BinaryMessageEncodingBindingElement.cs
MtomMessageEncodingBindingElement.cs
TextMessageEncodingBindingElement.cs
HttpCookieContainerBindingElement.cs :
do not add itself to RemainingBindingElements.
* HttpChannelFactory.cs
HttpChannelListener.cs
TcpChannelFactory.cs
TcpChannelListener.cs
MsmqChannelFactory.cs
MsmqChannelListener.cs
NamedPipeChannelFactory.cs
NamedPipeChannelListener.cs
PeerChannelFactory.cs
PeerChannelListener.cs : do not iterate RemainingBindingElements.
Instead, iterate all binding elements in the CustomBinding.
2010-05-12 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : implement On[Begin|End][Close|Open] methods.
2010-04-30 Atsushi Enomoto <atsushi@ximian.com>
* HttpListenerManager.cs : use manual reset here to not cause
possible inconsistent locking.
2010-04-28 Atsushi Enomoto <atsushi@ximian.com>
* HttpChannelListener.cs, HttpListenerManager.cs :
Fix NRE issue in olive/samples/wcf/web-http-binding/samplesvc3.exe.
2010-04-23 Atsushi Enomoto <atsushi@ximian.com>
* HttpListenerManager.cs : fixed the issue that mex_info is never
retrieved from the latest channel listener (which could be other
listener than the one which was set mex info).
2010-04-23 Atsushi Enomoto <atsushi@ximian.com>
* HttpChannelListener.cs, HttpListenerManager.cs :
actually it should be ChannelDispatcher-to-HttpChannelListener,
to identify which dispatcher to send reqs.
2010-04-23 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs : remove old Http Keep-Alive workaround.
2010-04-23 Atsushi Enomoto <atsushi@ximian.com>
* HttpTransportBindingElement.cs,
HttpChannelListener.cs,
HttpListenerManager.cs : add host-to-http-listener mapping so that
they can be managed per host.
2010-04-21 Atsushi Enomoto <atsushi@ximian.com>
* BindingContext.cs : require a TransportBindingElement when
building a channel listener.
2010-04-19 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs : use local var to hold wait handle to avoid
possible NRE on field. Based on the patch by Matt Dargavel.
2010-04-07 Miguel de Icaza <miguel@novell.com>
* BufferManager.cs: Implement the BufferManager.
2010-04-07 Atsushi Enomoto <atsushi@ximian.com>
* WSSecurityMessageHeader.cs : add FIXME comment.
2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : add commented note.
2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs : fill To header only if it does not exist.
2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
* SecureMessageGenerator.cs : set ReplyTo and To, do not add.
2010-04-06 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeaders.cs : use matching addressing version.
Remove header item if the same ones already exist.
2010-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpRequestChannel.cs: don't create the wait handle unless it is
really needed.
2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : use correct max buffer size.
2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
* MessageFault.cs : check null serializer and detail.
Make sure to consume s12:Reason EndElement.
2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
* MessageFault.cs : when created from XmlReader, it should not
deserialize fault details immediately. This class itself should
not do that. Strongly typed FaultContractInfo may want to use the
reader (GetReaderAtDetailContents()) for its own deserialization.
2010-04-01 Atsushi Enomoto <atsushi@ximian.com>
* ConnectionOrientedTransportBindingElement.cs,
TcpTransportBindingElement.cs : implement GetProperty<T>().
2010-04-01 Atsushi Enomoto <atsushi@ximian.com>
* HttpTransportBindingElement.cs, HttpsTransportBindingElement.cs:
implement HttpsTransportBindingElement.GetProperty<T>(). Extend the
properties type from HTTP.
2010-04-01 Atsushi Enomoto <atsushi@ximian.com>
* FaultConverter.cs : use addressing version from the message.
2010-03-30 Atsushi Enomoto <atsushi@ximian.com>
* FaultConverter.cs : check envelope version, not addressing version.
2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
* FaultConverter.cs : implemented TryCreateException().
2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
* MessageFault.cs : cosmetic method name clarification.
2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
* XmlReaderBodyWriter.cs, Message.cs, MessageImpl.cs, BodyWriter.cs:
fix BodyWriter buffering that dropped in-scope namespaces and thus
caused problem on resolving QNames.
2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
* FaultConverter.cs : do implement OnTryCreateFaultMessage() to work
with certain Exception types.
2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
* Message.cs : fix explanation on CreateMessage() overloads.
2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
* MessageFault.cs : Write Subcode element correctly and fix wrong
Code/Value/Subcode element relationship. Give better error message.
2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : ok, no need for conditional code path.
2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
* AddressingVersion.cs : add fault action namespace.
2010-03-26 Sebastien Pouliot <sebastien@ximian.com>
* HttpRequestChannel.cs: There is no WebHeaderCollection.Add
method in SL API
2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
* MessageImpl.cs : pass IsFault argument in OnCreateBufferedCopy().
2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestContext.cs, AspNetRequestContext.cs : return HTTP 500
for fault message.
2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : create HttpResponseMessageProperty.
2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestContext.cs : removed HTTP status rewriting for
commented reason.
2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : handle only 4xx errors as to not process
content stream.
2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
* MessageFault.cs : do not use SOAP11 namespace for fault contents.
2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
* ReplyChannelBase.cs, HttpReplyChannel.cs : add some locking.
Patch by Matt Dargavel.
2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
* HttpListenerManager.cs : use lock object which is subject to
change. Fix by Matt Dargavel.
2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
* HttpListenerManager.cs : remove consumed HttpListenerContext from
the pending queue. Compare "wsdl" request in case insensitive
manner. Patch by Matt Dargavel.
2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestContext.cs : apply the patch by Matt Dargavel, which is
supposed to provide detailed 400 error message.
2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
* TransactionFlowBindingElement.cs: revamp the previous change to
not regress regarding service metadata.
2010-03-24 Atsushi Enomoto <atsushi@ximian.com>
* ChannelListenerBase.cs, TransactionFlowBindingElement.cs: fix
GetProperty<T>() bug that fails to retrieve properties. (This may
be rewritten later if an ongoing change proposal is to take place.)
2010-03-18 Atsushi Enomoto <atsushi@ximian.com>
* ReliableSessionBindingElement.cs,
PrivacyNoticeBindingElement.cs,
RemoteEndpointMessageProperty.cs : added some missing types.
2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeaders.cs :
why does it filter out most of the headers? kill it.
2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
HttpListenerManager.cs : refactoring on acquiring SvcHttpHandler
to not raise "not found" error (see bug #573795).
2010-03-16 Jb Evain <jbevain@novell.com>
* HttpRequestChannel.cs, HttpTransportBindingElement.cs: use
MOONLIGHT symbol to disambiguate MonoTouch and Moonlight code.
2010-03-09 Atsushi Enomoto <atsushi@ximian.com>
* HttpListenerManager.cs : For ASP.NET, use correct GenericIdentity
type, and use null password unless we find a chance to get password
in ASP.NET HttpContext.
2010-03-03 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
HttpListenerManager.cs : ongoing authentication support. It returns
401 as expected, but somehow fails to retrieve user info.
2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
* HttpListenerManager.cs : this change (along with HttpListener
implementation) somehow fixes basic auth. connection error...
2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeaders.cs : add !NET_2_1.
2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeader.cs, MessageHeaders.cs : add nasty workaround for
typed UniqueId output.
2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeader.cs : no need to treat EndpointAddress as a special
case here too.
2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeaders.cs : remove duplicate constant.
2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeader.cs, MessageHeaders.cs: MessageHeader does not treat
EndpointAddress as a special case. Instead, each MessageHeaders
property should convert it to appropriate serializable objects.
(Our DataContractSerializer fails to reject EndpointAddress as
serializable type, so it's rather a preparation step.)
2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeader.cs, Message.cs : use dictionary string whenever
applicable. The binary output on #577139 is getting closer (no
idea if it is really about binary output though).
2010-02-10 Atsushi Enomoto <atsushi@ximian.com>
* BinaryMessageEncoder.cs : moved soap_dictionary to Constants.
2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
* HttpTransportBindingElement.cs : ... and add MONOTOUCH on #ifs.
2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs, HttpTransportBindingElement.cs :
enable authentication schemes on monotouch.
2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs : a wait handle could be used for more than one
requests and hence it sometimes blocked one reply channel. Now
it creates a wait handle for each ASP.NET request so that such
multiple use should not occur. This should fix blocking on
concurrent requests (it indeed fixes as long as I can see).
2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
* AspNetReplyChannel.cs : remove garbage output.
2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs : Use lock when it tries to create the service
host.
2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandlerFactory.cs : lock when it tries to acquire
HttpHandler.
2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
* HttpListenerManager.cs : add another workaround for blocking
concurrent calls.
2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
* HttpListenerManager.cs : small refactoring.
2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs : added a workaround receiver delay
that somehow makes callback client to not cause infinite loop.
2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
DuplexChannelBase.cs : Receive() should rather use TryReceive().
It should not be in reverse order.
2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs, HttpListenerManager.cs :
Implement async cancellation in the expected manner (though with
some hack). This mostly removed nunit blockers.
2010-01-22 Atsushi Enomoto <atsushi@ximian.com>
* CommunicationObject.cs : fix wrong status changes.
2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
* AddressHeader.cs : XmlSchema.InstanceNamespace didn't exist in 2.1 :(
2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
* AddressHeader.cs : implement remaining bits.
Eliminate dependency on NetDataContractSerializer.
2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
* CommunicationObject.cs : in Fault(), do similar work as previous
change does.
2010-01-19 Atsushi Enomoto <atsushi@ximian.com>
* CommunicationObject.cs : when process state changes, lock the
object to make sure the state transition is valid.
Change OnClosed/OnClosing to do the way OnOpened/OnOpening does.
2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeaders.cs : implement SetAction().
2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
* ChannelFactoryBase.cs : fix build.
2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
* ChannelBase.cs : cosmetic API fix for SL3.
2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
* ChannelFactoryBase.cs :
implement On{Begin/End}Close() on the generic type.
2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
* HttpChannelFactory.cs, TcpChannelFactory.cs,
ChannelFactoryBase.cs, NamedPipeChannelFactory.cs
PeerChannelFactory.cs, HttpRequestChannel.cs:
fix ChannelFactoryBase API; move On(Begin/End)Open() to internal
type and made required changes.
2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
* HttpCookieContainerBindingElement.cs : new.
* IHttpCookieContainer.cs : fix type name.
* HttpRequestChannel.cs, HttpChannelFactory.cs : support above.
2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
* TcpBinaryFrameManager.cs : treat EOF as interrupted stream too (it
does not happen when communicating with .NET client but happens with
mono). Seealso FIXME comment.
* TcpDuplexSessionChannel.cs : do not try to close session when it
failed to read sized message. The connection is already dead.
Fixed bug #567949.
2010-01-07 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs :
Write EndRecord only when the connection is available.
Remove hack - do let ChannelDispatcher close the channel.
* TcpBinaryFrameManager.cs :
The socket may be disconnected when trying to read a sized message,
so check some socket exceptions.
In case the client silently shuts down without EndRecord and
reconnects to the server with preamble while expecting a sized
message (which is so lame, but that's what .NET often does), refresh
preamble and continue.
This fixes some cases of bug #567949 but not all.
2010-01-06 Atsushi Enomoto <atsushi@ximian.com>
* BinaryMessageEncoder.cs : enable workaround buffering only when
the argument stream does *not* support seek. This fixes some
net.tcp connection problem.
2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
* TcpBinaryFrameManager.cs : If preamble byte is not available from
the client stream, detect it to close the reply or input channel.
* TcpRequestChannel.cs : send preamble at each request time.
It differentiates communication behavior on such cases that involve
single open and multiple requests.
* TcpReplyChannel.cs : close the channel only when the channel is
oeprated to close i.e. do not close the socket every time.
Process preambles on each request (the same as request channel).
2009-12-26 Atsushi Enomoto <atsushi@ximian.com>
* TcpBinaryFrameManager.cs : unsized envelope record may have more
than one data block, so consume them accordingly. This should fix
large buffer consumption.
2009-12-21 Atsushi Enomoto <atsushi@ximian.com>
* MessageFault.cs : support EnvelopeVersion.None as well, as almost
the same as SOAP12.
2009-12-17 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestContext.cs : for DestinationUnreachable message, this
channel returns 400 in .NET.
2009-12-16 Atsushi Enomoto <atsushi@ximian.com>
* BinaryMessageEncoder.cs : added workaround for strange stream
consumption error raised by HttpTransport + Binary encoder example.
* BinaryMessageEncodingBindingElement.cs:
only SOAP 1.2 is allowed for this encoder.
2009-12-14 Atsushi Enomoto <atsushi@ximian.com>
* XmlReaderBodyWriter.cs : don't try to write empty xml.
2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : avoid adding duplicate headers. Basically
default WebHeaderCollection items are overwritten.
2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : when HTTP response was error, do not try
to read message but just raise an error.
2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeaders.cs : null can be set as a WS-Addressing header item.
2009-12-10 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : WebException.Response might be null.
2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
* ReplyChannelBase.cs : added listener property.
* SecurityChannelListener.cs : quick async impl, as ServiceHost has
been updated to prefer async by default, a while ago.
2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
* HttpTransportBindingElement.cs : finished all GetProperty() values.
2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : disabled carelessly added
"UseDefaultCredentials = false" line. It blocked basic auth.
2009-12-04 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs, HttpChannelFactory.cs,
HttpChannelListener.cs, HttpListenerManager.cs :
implemented http client authentication and some of corresponding
service code. Only client works so far.
2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
* HttpsTransportBindingElement.cs, HttpChannelListener.cs :
added URI scheme check.
2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
* TransportSecurityBindingElement.cs : fix 2.1 build.
2009-12-03 Atsushi Enomoto <atsushi@ximian.com>
* HttpsTransportBindingElement.cs :
RequireClientCertificate is false by default.
Remove extra #if NET_2_1.
* SecurityBindingElement.cs :
Implement some transport security factory methods.
* TransportSecurityBindingElement.cs :
It is not ISecurityCapabilities anymore.
2009-11-25 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeaders.cs
SecurityBindingElement.cs
LocalClientSecuritySettings.cs
TransportSecurityBindingElement.cs
FaultConverter.cs : They are now part of SL3 API.
2009-11-17 Atsushi Enomoto <atsushi@ximian.com>
* BinaryMessageEncodingBindingElement.cs : changes for 2.1 build.
2009-11-05 Geoff Norton <gnorton@novell.com>
* HttpsTransportBindingElement.cs: Implement basic https transport
binding support for Moonlight and MonoTouch
2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
* HttpListenerManager.cs : remove CWLs.
2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs : move back previous listener selector code in
ProcessRequest(). Unlike HttpListener, ASP.NET does not refine
and differentiate requests to deeper paths (such as /jsdebug), so
we need such refinement here.
2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
* HttpListenerManager.cs : dependent fix to ServiceMetadataExtension
changes.
2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs, HttpReplyChannel.cs, AspNetReplyChannel.cs,
HttpChannelListener.cs, HttpListenerManager.cs :
Similar refactoring on ASP.NET side to the previous one.
Added ASP.NET implementation of HttpListenerManager and use some
part of it in SvcHttpHandler (ASP.NET stack does not fully make use
of the manager yet).
Rewrote AspNetReplyChannel to become almost the same as
HttpSimpleReplyChannel, to hopefully unify them later.
Now it dispatches requests to *.svc for wsdl, help and SOAP as long
as ServiceThrottle has MaxConcurrentSessions=1. Also REST calls
are still broken.
2009-10-20 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs, HttpChannelListener.cs, HttpListenerManager.cs:
Refactoring on listener manager to correctly handle wsdl and help
requests for such case that they conflict in addressing. Now it
can correctly distinguish service calls, WSDL requests and help
requests when all of them point to "http://localhost/foo.svc"
(which is very common case that the user does not change Http*Url).
2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
* ChannelListenerBase.cs : add Properties property to add arbitrary
properties handy (only inside this assembly).
2009-10-16 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs : fix warning.
2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs, AspNetReplyChannel.cs : set Via property.
2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs : make sure to release wait lock.
* HttpChannelListener.cs : session channels are not supported, so
remove relevant NIEs.
2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
* HttpRequestChannel.cs (WaitEnd): Neither Moonlight nor MonoTouch
support contexts so we call the non-overloaded WaitOne method
(which defaults to false).
2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
significant rewrite to cooperate wcf handler and asp.net handler
to not mix multiple WCF listener within the asp.net handler.
So far it mostly works when 1) there are no ChannelDispatchers
that have an identical listen Uri and 2) MaxConcurrentSessions is
1 (must be explicitly set).
2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
* CommunicationObject.cs : give better state error description.
2009-10-09 Atsushi Enomoto <atsushi@ximian.com>
* CommunicationObject.cs : OnOpening() and OnOpened() require calls
to base methods. This resulted in not a few changes everywhere.
2009-10-07 Atsushi Enomoto <atsushi@ximian.com>
* IHttpCookieContainer.cs : new 2.1-only interface (no use).
2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs : use file path given by the factory to
construct BaseAddresses. Requests to "test.svc/jsdebug" should
not be handled as request to "jsdebug" file, it's rather an
"argument" to "test.svc".
2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs, HttpChannelListener.cs : some significant
rewrite to handle shutdown situation better. The listeners should
not close channels that it opened. Instead, just stop accepting
further requests. Removed blocking mutex on WaitForRequest().
Now xsp shuts down as expected.
2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs : lock list when releasing its content contexts.
* AspNetReplyChannel.cs : send EndRequest() to handler when it is
closing.
2009-10-06 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandlerFactory.cs : remove todo.
* ReplyChannelBase.cs : add comment.
2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
* HttpTransportBindingElement.cs, SvcHttpHandlerFactory.cs :
revert the change, to use internal asp.net state again.
* SvcHttpHandler.cs : add VirtualPathExtension.
2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs, AspNetReplyChannel.cs, AspNetRequestContext.cs:
asp.net response was not written correctly.
Fill HttpRequestMessageProperty to get handle WSDL requests
processed in ServiceMetadataExtension without NRE.
Remove wrong HttpListenerContext iteration at Abort and Close in
common base class and move it to non-asp derived channel.
2009-10-02 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs : remove unused code.
2009-09-30 Jb Evain <jbevain@novell.com>
* HttpRequestChannel.cs: When compiling for MonoTouch, avoid
to use any of the remoting features.
2009-09-30 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandlerFactory.cs, HttpTransportBindingElement.cs :
use AspNetCompatibilityEnabled.
* SvcHttpHandler.cs : disable ApplyConfiguration(). It should be done
at ServiceHostBase.
* AspNetReplyChannel.cs : remove extra field.
2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs : remove extra field.
2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
* AspNetRequestContext.cs : remove CWL.
2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
* AspNetReplyChannel.cs, AspNetRequestContext.cs : close HttpContext
only after AspNetRequestContext is closed. Do not close it
immediately after receiving the context. (HttpRuntime destructs it
and further uses then becomes impossible.)
2009-09-29 Atsushi Enomoto <atsushi@ximian.com>
* AspNetReplyChannel.cs, HttpReplyChannel.cs : add some comments.
* SvcHttpHandlerFactory.cs, SvcHttpHandler.cs, HttpChannelListener.cs:
Make sure that AspNetChannelListener is bound to correct
SvcHttpHandler, regardless of specific request URI. It is required
for both WSDL requests and RESTful binding requests.
2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
* MessageProperties.cs : fix CopyProperties() behavior to not
clear existing items. Make all properties call this[name].
2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
* HttpTransportBindingElement.cs : fix 2.1 build.
2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
* TransportBindingElement.cs : another GetProperty fix, iterate
other binding elements.
2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
* HttpTransportBindingElement.cs, PeerTransportBindingElement.cs :
some GetProperty() implementation.
2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
* HttpListenerManager.cs : release HttpListener and avoid extra
close process more than once.
2009-09-11 Atsushi Enomoto <atsushi@ximian.com>
* HttpChannelListener.cs : do not iterate channel list to close
channels which in turn removes them from the list while iteration.
2009-09-06 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : Fix message version member comparison.
Double-quote SOAPAction. Remove extra Exception.
* HttpReplyChannel.cs : ditto for version comparison. Unquote above.
* HttpRequestContext.cs : when addressing is None, remove action
from the message.
2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs : set Uri property based on baseAddresses and
path, to pick those endpoints that are added at custom factories.
2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs : apply configuration, and if there is still no
endpoint, then add default one.
2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs : another URL to make relative.
2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandlerFactory.cs : some GetHandler changes.
* SvcHttpHandler.cs : significant changes on receiver structure. Now
ProcessRequest() stores pending requests (this might be extraneous,
but maybe useful when it implements async handler). Also removed
reply_channel field as it may become to handle multiple requests.
* HttpChannelListener.cs : bind to corresponding SvcHttpHandler.
* AspNetReplyChannel.cs : make it receive requests like
HttpReplyChannel (for HttpListener) to make them consistent.
2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
* AspNetRequestContext.cs, HttpRequestContext.cs :
fix NRE on HttpListenerContext for AspNetRequestContext (mismatch)
by splitting HttpListener-based context out from common code base.
2009-09-03 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs : use baseAddresses in ServiceHost and make URIs
relative or absolute. new Uri ("/foobar") doesn't work on non-unix
environment.
2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandlerFactory.cs : make use of BuildManager aid. Now it
loads types from system assemblies appropriately.
2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
* XmlReaderBodyWriter.cs : implement OnCreateBufferedCopy()
for XmlReader input.
2009-09-02 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestMessageProperty.cs : fix default values.
2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
* HttpChannelFactory.cs, HttpRequestChannel.cs,
ChannelFactoryBase.cs : fix to previous one; allow null Via uri.
Check ManualAddressing value and reject address-missing ones.
2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
* HttpChannelFactory.cs : reject URI mismatch cases when required.
2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
* PeerDuplexChannel.cs : When received Connect() from neighbor,
add the peer to its internal list.
Finally ChatApplication got working.
2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
* PeerDuplexChannel.cs : since the channel factory is per instance,
do not reuse factory that is tied to different callback instance.
It resolved the issue that mono callback client didn't receive
messages from the client itself.
2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
* PeerDuplexChannel.cs : in the Welcome response, return the NodeId
of the receiver, not the requestor. It resolved the issue that
.NET client didn't send further messages to mono server.
2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
* PeerDuplexChannel.cs : remove some comment on [MC-PRCH] behavior.
* TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs,
TcpReplyChannel.cs, TcpRequestChannel.cs,
NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs:
rename EndRecord handling method to appropriate one.
Write EndRecord from recipient too.
2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
* PeerDuplexChannel.cs : add PeerFlooder header (see comment).
Process PeerTo header to upgrade Message To header. Now mono
service accepts mono client (somehow not true for .NET client).
2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs, TcpRequestChannel.cs,
NamedPipeRequestChannel.cs : no need to add ReplyTo headers.
2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
* PeerDuplexChannel.cs : fix PeerTo/PeerVia header namespace.
2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs : check channel state before processing
Send and Receive.
2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
* NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs,
NamedPipeChannelFactory.cs, NamedPipeChannelListener.cs :
ongoing works, not working at all yet.
2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
* TcpChannelListener.cs, TcpReplyChannel.cs :
cosmetic cleanup and corrections.
2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
* TcpChannelFactory.cs : use expected Via uri.
Remove extra NIE stuff that are implemented in base.
2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs : remove extra code.
2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
* PeerDuplexChannel.cs : ongoing implementation towards get callback
replies on peer connector clients (not working as duplex client
callback is not working yet).
2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs : in callback client channels,
OperationContext.IncomingMessageHeaders is null.
2009-08-20 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeaders.cs : duplicate check was sloppy.
2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
* Message.cs, MessageImpl.cs, BodyWriter.cs :
Implement BodyWriter.OnCreateBufferedCopy() and use it.
2009-08-18 Atsushi Enomoto <atsushi@ximian.com>
* ReplyChannelBase.cs : initialize field.
2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
* ReplyChannelBase.cs, DuplexChannelBase.cs, RequestChannelBase.cs:
implement GetProperty<T>() and return its channel manager.
2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
* PeerDuplexChannel.cs : ongoing implementation. Fix wrong peer
destination address in Connect() request. To repeat sending
request, use buffered copy. Set some peer-channel specific
header items. (todo: and consume them.)
2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
* Message.cs : state is set only after WriteBodyContents().
2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeaders.cs : eliminate wrong use of
ReadElementContentAsString() (it is not always simple string).
2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeaders.cs : when the value is null, do not try to
deserialize EndpointAddress.
2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeader.cs : add Value property. (Forgot dependent change.)
2009-08-17 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeaders.cs : GetHeader<T>() could mostly skip extra
serialization and deserialization of values.
2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
* PeerDuplexChannel.cs : handle Welcome and Refuse at client side.
Now simply use connector contract.
2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
* PeerDuplexChannel.cs : handle Disconnect(). Fix URLs a bit.
2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
* TcpChannelListener.cs : do not try to compare dead connection's
IPEndPoint (it raises an error).
2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeaders.cs : allow null header value on each specific setter.
2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
* DuplexChannelBase.cs, TcpDuplexSessionChannel.cs :
get local and remote address of connected counterpart to get
callback channel connected.
* PeerDuplexChannel.cs : remove FIXME wrt above.
2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
* PeerDuplexChannel.cs : add fixme comment and remove extra FIXME.
2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeader.cs : fill IsReferenceParameter.
2009-08-06 Atsushi Enomoto <atsushi@ximian.com>
* ReplyChannelBase.cs, TcpReplyChannel.cs, HttpReplyChannel.cs:
implement remaining async methods and LocalAddress.
2009-08-05 Atsushi Enomoto <atsushi@ximian.com>
* PeerDuplexChannel.cs : ongoing listener refactoring. Now it uses
ServiceHost to process neighbor connection (not sure if this is
right way to go though ...).
2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
* PeerDuplexChannel.cs : ongoing [MC-PRCH] implementation. Rewrote
connection part to use new internal IPeerConnectorContract for
neighbor connection.
2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
* ChannelListenerBase_1.cs, TcpChannelListener.cs,
PeerChannelListener.cs, HttpChannelListener.cs :
support ListenUri accordingly too so that it could be used when
it is different from LocalAddress.Uri.
2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
* TcpChannelFactory.cs, TcpDuplexSessionChannel.cs,
TcpRequestChannel.cs : use Via uri to validate and connect.
2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
* RequestChannelBase.cs, DuplexChannelBase.cs :
Return endpoint address Uri when no explicit Via uri is specified.
* ChannelFactoryBase.cs : Remove extra async close methods.
Add async open methods. Reject null EndpointAddress.
* PeerChannelFactory.cs : remove async open methods (now in base).
2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
* PeerDuplexChannel.cs : set correct message endpoint (To header).
2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
DuplexChannelBase.cs : set LocalAddress property at base.
2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
* PeerDuplexChannel.cs : ongoing refactoring to work both as
listener and client. Now it creates a listening peer node, and
creates a set of TCP client channels for each peer in the mesh.
(EndpointAddress must be fixed to not filter out correct inputs).
2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
* PeerChannelListener.cs : do not accept more than one channel
which results in lots of listening peer node. Only one is enough.
2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
* DuplexChannelBase.cs : fix wrong loop implementation.
2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
* TcpChannelListener.cs : to avoid creating two or more channels
for one remote endpoint, check existing remote endpoints and
ignore such connections (it must be handled in different thread
fired by ChannelDispatcher loop).
2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
* TcpReplyChannel.cs : make sure to not try to receive request when
it is already closed.
2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
* TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
some mannerless clients [*1] do not send EndRecord accordingly, but
such channels at listener side should not be kept open. So, close
disconnected channels when the listener needs to accept another
one.
[*1] see olive/samples/wcf/clientbase/samplecli4.cs.
2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs :
Remove extra NIE overrides.
Implement OnAbort() apart from OnClose().
For duplex session channel, unlike reply channel, it must acquire
TCP connection before OnOpen(), otherwise ChannelDispatcher
releases the connection acceptance WaitHandle and the detected
live connection may be stolen by another channel acceptor.
2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : implement OnAbort().
2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
* PeerChannelListener.cs : set source field. Remove unnecessary NIE.
* DuplexChannelBase.cs : comment out some extra fields (so far).
* PeerDuplexChannel.cs : pass valid EndpointAddress to PeerNodeImpl.
2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
* PeerCustomResolverBindingElement.cs : add some null checks.
2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
* TcpChannelListener.cs, TcpReplyChannel.cs, TcpRequestChannel.cs:
Acquire TcpClient for each request/reply. Now it is fully
interoperable with .NET.
2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
* TcpReplyChannel.cs, TcpRequestChannel.cs: it somehow adds/expects
ReplyTo and MessageId (though it is session-less), and it expects
EndRecord at weird stage, inconsistent with [MC-NMF]...
Now .NET service accepts one mono client request.
2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
* TcpReplyChannel.cs, TcpRequestChannel.cs, TcpBinaryFrameManager.cs:
Send and receive unsized message terminator at once.
Send EndRecord mutually. Got one .net client request working.
2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
* BinaryMessageEncoder.cs : revert the previous dictionary change.
They are indeed used for non-in-band-dictionary messages.
2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs:
split out binary frame manager class into separate file.
2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
* TcpReplyChannel.cs : new reply channel implementation.
* TcpChannelListener.cs : use above for streamed reply channel.
* TcpDuplexSessionChannel.cs : more streaming mode support.
* TcpRequestChannel.cs : a couple of updates to get it working
with the reply channel above. Still some issues on .NET interop.
2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
* RequestContext.cs : added internal derived class that implements
some members.
2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
* BinaryMessageEncoder.cs : for non-session reader and writer, do not
use dictionary.
2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
* PeerDuplexChannel.cs: add the registered node itself to peer list.
(The messaging must be done as TCP request/reply pattern, so it's
not working yet.)
2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
* TcpRequestChannel.cs : new channel file (TCP for request/reply
messaging pattern). The messaging part is not working yet.
* TcpChannelFactory.cs : support IRequestChannel.
* TcpDuplexSessionChannel.cs : add unsized message support.
2009-07-17 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs, RequestChannelBase.cs :
A couple of async members are now implemented in the base class.
Ditto for EndpointAddress and Via.
2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
* PeerDuplexChannel.cs : now it implements some of node management
functionality and Send operation. The receiver part is not yet.
2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
* TcpChannelListener.cs, TcpDuplexSessionChannel.cs : do not pass
timeout to channel constructor. it does not make sense.
2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
* PeerChannelFactory.cs, PeerChannelListener.cs : add MessageEncoder
as common interface member, and use binary encoder (not text).
2009-07-09 Atsushi Enomoto <atsushi@ximian.com>
* PeerDuplexChannel.cs : PeerNode constructor argument changes.
2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
* PeerDuplexChannel.cs, PeerChannelListener.cs, PeerOutputChannel.cs,
PeerInputChannel.cs, PeerChannelFactory.cs : those channels are
going to be unified to PeerDuplexChannel. And it is likely that
input and output functionalities are to be unified too.
2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
* TcpChannelFactory.cs : (TcpChannelInfo) ease type restriction. I
may have to reuse it for peer transport.
* PeerChannelListener.cs : add binding member.
* PeerDuplexChannel.cs : remove NIE overrides. Fill fields a bit.
2009-07-08 Atsushi Enomoto <atsushi@ximian.com>
* ChannelFactoryBase.cs, HttpChannelFactory.cs,
PeerChannelFactory.cs : close opened channels at OnClose() as
documented. Implement async methods.
* PeerChannelListener.cs : removed some NIE overrides.
2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
* DuplexChannelBase.cs : some more async methods.
2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs : on Abort(), do just Close() within
(almost) no time.
* TcpChannelListener.cs : accept multiple channels at a time.
2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs : do not output all (stored) writer
session strings but output only those new ones in current message.
This fixes inconsistent body output in repetitive use of sender.
2009-06-26 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs : handle EndRecord for repetitive
operation that does not involve session.
Preserve writer session as well as reader session.
* MessageHeaders.cs : take name and namespace into consideration
when creating a serializer.
2009-06-25 Atsushi Enomoto <atsushi@ximian.com>
* TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
Made required changes for repeated use of message exchanges.
Hold binary reader session. The channels use it incrementally.
Preambles are handled at Open, and EndRecords are handled at
Close, Add session shutdown hook here (not working yet though).
2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
* ChannelListenerBase_1.cs : added cancellation hook here too.
HttpChannelListener.cs : use above.
Do not allow parallel channel creation (this listener does not
allow more than one AcceptChannel().
2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
* ReplyChannelBase.cs, HttpReplyChannel.cs :
Add cancellation hook for async TryReceiveRequest.
2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
* HttpChannelListener.cs, HttpListenerManager.cs :
slightly improved BuildChannelListener().
Implement OnAbort() and differentiate it from OnClose().
2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs : remove NIE stubs.
2009-06-18 Atsushi Enomoto <atsushi@ximian.com>
* DuplexChannelBase.cs : simple async delegate calls here too.
2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
* ReplyChannelBase.cs : cosmetic dependency reduction on listener.
2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs : cosometic simplification.
2009-06-16 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : Fixed timeout handling. It was causing
infinite block in 2.0 profile.
2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
* TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
more careful close to avoid NRE.
2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
* HttpChannelListener.cs : do not Close() more than once (though
it is allowed to call it twice, we don't reject it; just ignore).
2009-06-12 Atsushi Enomoto <atsushi@ximian.com>
* CustomBinding.cs : copy timeouts from argument binding in copy ctr.
2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs : reject multiple WaitForRequest calls.
Temporarily disable HTTP Keep-Alive since it somehow results in
wrong reuse of connection (shown as NRE in HttpConnection).
Make sure to close RequestContext which was created from it.
* HttpRequestContext.cs : simplify.
2009-06-11 Atsushi Enomoto <atsushi@ximian.com>
* HttpChannelListener.cs, TcpChannelListener.cs,
ChannelListenerBase_1.cs : put common internal listener base
and let it handle those async stuff.
2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
* ReplyChannelBase.cs : fix wrong null delegate check point.
2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs, ReplyChannelBase.cs : async operations are
now implemented as virtual in base class. Remove NIEs in http.
2009-06-10 Atsushi Enomoto <atsushi@ximian.com>
* HttpChannelListener.cs : hack async implementation.
2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
* HttpListenerManager.cs : oops, extra line removal.
2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
* HttpChannelManager.cs, HttpListenerManager.cs : rename file too.
2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
* HttpChannelManager.cs, HttpChannelListener.cs: renaming, as
"ChannelManager" is confusing (there is ChannelManagerBase).
2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
* HttpChannelManager.cs, HttpTransportBindingElement.cs,
HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
they should be split into separate listener->reply channel lines
(remove "if (HostingEnvironment.IsAspNet)".)
2009-06-08 Atsushi Enomoto <atsushi@ximian.com>
* CommunicationObject.cs : OnClosed() requires call to base method.
Close() could rather abort the channel, and Abort() does not
always invke OnAbort().
* ChannelBase.cs : add call to base as above.
2009-06-05 Sebastien Pouliot <sebastien@ximian.com>
* ClientAccessPolicy.cs: Removed
* CrossDomainAccessManager.cs: Removed
* CrossDomainPolicy.cs: Removed
* HttpRequestChannel.cs: Remove call to CrossDomainAccessManager
since this is now done inside the BeginGetResponse call (outside
this assembly) for Moonlight (NET_2_1)
2009-06-04 Alan McGovern <amcgovern@novell.com>
* HttpRequestChannel.cs : Rewrite ProcessRequest to use the async APIs
instead of the sync apis. Prevents a possible deadlock condition in
moonlight.
2009-06-03 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : that SL2/ML2 does not seem to allow null
callbacks, so add hacky ones.
2009-06-01 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs : WaitForMessage() should not return
true when socket input is not available.
2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs : Moved tcp listener accept to OnOpen().
I cannot precisely identify when EndRecord should be consumed,
so allow it at either at the end of ReadSizedMessage() or on
consuming preamble (it's likely handling EndRecord of previous
message though).
Now duplex IPeerResolverContract communication works between
either of .NET/Mono client and .NET/Mono server.
2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs : looks like I have added some bogus
code. Handle preamble ack on ReadSizedMessage() only at server.
Consume EndRecord from server, at client side. Though it is likely
changed as it's blocking when mono is at server side.
2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs : .NET seems to be based on somewhat
different protocol than existing code with related to preamble ack.
So changed it to work fine with .NET client (finally).
2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
* MessageBufferImpl.cs : do not output Action twice.
2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
* MessageBufferImpl.cs : it did not copy headers.
* Message.cs : remove 2_1 conditional implementation for buffered
copy and hence remove bogus code.
2009-05-28 Atsushi Enomoto <atsushi@ximian.com>
* MessageProperties.cs : copy argument is wrong.
2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
* PeerCustomResolverBindingElement.cs : some argument check.
2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
* BinaryMessageEncoder.cs : the serializer somehow leaves binary
xml open, so close the writer as well as open elements.
* TcpDuplexSessionChannel.cs : clear write buffer on each operation.
Do not output EndRecord and SizedMessage at a time.
2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs : there was a miscalculation on the
length of the SizedMessage in the output.
2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
* CommunicationObject.cs : use sane default timeout.
* PeerCustomResolverBindingElement.cs : check timeout arg sanity.
* TcpDuplexSessionChannel.cs : ditto.
2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs : It seems that buffered stream channel
only accepts buffered messages, so do as such for write buffers.
Add RelatesTo header.
2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
* DuplexSessionChannelBase.cs, DuplexChannelBase.cs:
rename from former to latter.
2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs : reader does not always return full
buffer (depending on the stream).
2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
* PeerDuplexChannel.cs, PeerOutputChannel.cs : use new PeerNode.ctor.
2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
* PeerCustomResolverBindingElement.cs : (Resolve) returned addresses
could be null.
2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
* ChannelManagerBase.cs : there was annoying non-2.1 stuff.
2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
* TcpChannelListener.cs, TcpChannelFactory.cs : get reader quotas.
2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
* ChannelManagerBase.cs : fix wrong session channel detection.
2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
* BinaryMessageEncoderFactory.cs, BinaryMessageEncoder.cs
This encoder factory implements CreateSessionEncoder() and binary
encoder does support session transmit, in different media type.
* ChannelManagerBase.cs : added utility method to create appropriate
encoder.
* HttpChannelFactory.cs, HttpChannelListener.cs,
MsmqChannelFactory.cs, MsmqChannelListener.cs,
PeerChannelFactory.cs, PeerChannelListener.cs,
TcpChannelFactory.cs, TcpChannelListener.cs : use above.
2009-05-22 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs : add ReplyTo header.
2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
* DuplexSessionBase.cs : new file, for session implementation.
* TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
DuplexSessionChannelBase.cs : changed sync/async implementation
pattern. Now async methods call sync methods using delegates.
2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
* InputChannelBase.cs, TransportBindingElement.cs, RequestContext.cs:
a few minor API fixes.
2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
* MessageEncoderFactory.cs : implement CreateSessionEncoder().
2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs : add To header.
2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
* MessageFault.cs : fix several SOAP12 fault deserialization in xml
parsing.
2009-05-18 Atsushi Enomoto <atsushi@ximian.com>
* FaultConverter.cs : avoid NRE for null IncomingMessageHeaders.
2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
* MessageFault.cs : Reason is mandatory. raise XmlException, and
CommunicationException in each CreateFault().
2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs : on listener side, get TcpClient at
Open(). Some (but not all yet) continuous communication works now.
Use ProtocolException. Remove dummy binary session string.
2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Moved
sending/receiving SizedMessageRecord parts to manager class.
Handle writer session, though it is likely broken at dictionary
writer part (no string is written so far).
* BinaryMessageEncoder.cs : add writer session and rename reader
session.
2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Via uri
is mandatory in initiator preamble packet. Handle Fault reply in
initiator preamble.
2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs : ongoing refactoring to collect [MC-NMF]
based communication under TcpBinaryFrameManager class.
2009-05-13 Jb Evain <jbevain@novell.com>
* MessageHeader.cs: use a SL friendly way of creating an XmlReader
from a StringReader.
2009-05-13 Atsushi Enomoto <atsushi@ximian.com>
* MessageImpl.cs, MessageHeader.cs : eliminate xlinq in 2.1, and
actually eliminate DOM-based implementation too in 2.0.
2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs : implement in-band dictionary support
in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
comments for magic numbers based on [MC-NMF].
2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
* BinaryMessageEncoder.cs : implement part of in-band dictionary
support for [MC-NBFSE] record in [MC-NMF], in this class.
2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
* BinaryMessageEncodingBindingElement.cs : clear extra public members.
2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs : implemented some channel methods.
2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
* BinaryMessageEncoder.cs : use XmlDictionary specified as [MC-NBFS].
2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
* ChannelManagerBase.cs : implement Open/CloseTimeout correctly.
2009-04-23 Atsushi Enomoto <atsushi@ximian.com>
* BinaryMessageEncoder.cs : use quotas in binding element.
Implement WriteMessage().
2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
* PeerCustomResolverBindingElement.cs : do initialize field.
2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
* PeerCustomResolverBindingElement.cs :
implement full custom resolver.
2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
* PeerDuplexChannel.cs, PeerChannelListener.cs,
PeerOutputChannel.cs, PeerCustomResolverBindingElement.cs,
PeerChannelFactory.cs : ongoing p2p channel implementation.
2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
* PnrpPeerResolverBindingElement.cs : sync with PeerResolver changes.
2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
* BinaryMessageEncodingBindingElement.cs, ChannelBase.cs,
ChannelFactoryBase.cs, WindowsStreamSecurityBindingElement.cs :
implement GetProperty<T>(). Return documented objects or null.
2009-04-20 Atsushi Enomoto <atsushi@ximian.com>
* PeerChannelFactory.cs, PeerChannelListener.cs,
PeerCustomResolverBindingElement.cs, PeerDuplexChannel.cs
PeerInputChannel.cs, PeerOutputChannel.cs :
new; ongoing peer transport implementation.
* DuplexSessionChannelBase.cs, InputChannelBase.cs
MsmqOutputChannel.cs, OutputChannelBase.cs,
PeerResolverBindingElement.cs, PeerTransportBindingElement.cs,
PnrpPeerResolverBindingElement.cs, TcpDuplexSessionChannel.cs :
several internal changes (either required or for simplification)
for ongoing peer transport implementation.
2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
* PeerTransportBindingElement.cs : ListenIPAddress is IPAddress.
2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
* TcpTransportBindingElement.cs : check build-ability before
actually building channels.
* ConnectionOrientedTransportBindingElement.cs : fixed build-ability
conditions according to MSDN.
2009-03-05 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeader.cs, MessageHeaders.cs, MessageImpl.cs :
handle headers in SL2. Slightly changed 3.0 code too.
2009-03-04 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : use cross domain access manager.
2009-02-27 Atsushi Enomoto <atsushi@ximian.com>
* Message.cs : (in CreateBufferedCopy) do not pass the entire
message as BodyWriter.
(in GetReaderAtBodyContents) just write body contents.
* MessageImpl.cs : do not try to read body at ctor (fixed tons
of test failures).
Add some state check in GetReaderAtBodyContents().
* XmlReaderBodyWriter.cs : avoid possible extra xmldecl onto output.
2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
* Message.cs : do not forget to flush.
* HttpRequestChannel.cs : give more exact error info.
2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
* Message.cs, MessageBufferImpl.cs, XmlReaderBodyWriter.cs :
make buffered copy in ML2 really buffered.
2009-02-12 Atsushi Enomoto <atsushi@ximian.com>
* Message.cs : if there is no header item to write, do not write
SOAP header element.
2009-01-22 Alan McGovern <amcgovern@novell.com>
* MessageHeaders.cs : List<T>.RemoveAll(Predicate<T>) doesn't exist in Silverlight.
Rewrite to avoid usage of it.
2009-01-14 Atsushi Enomoto <atsushi@ximian.com>
* ChannelParameterCollection.cs : implement, rather than NIE.
2008-05-22 Noam Lampert <noaml@mainsoft.com>
* MessageFault.cs: Correctly serialize ExceptionDetails. Expose SimpleMessageFault to allow
internal users to know the type of the detail.
2008-05-20 Noam Lampert <noaml@mainsoft.com>
* Message.c: Use private setter for state private variable to ease debugging.
Modify ToString not to change the state, as it is called quite often by VS debugger
2008-04-21 Roei Erez <roeie@mainsoft.com>
* HttpChannleManager: Fix for multithreaded use.
* HttpReplyChannel: Fix crash during sutdown.
2008-04-17 Igor Zelmanovich <igorz@mainsoft.com>
* HttpChannleManager: ensure trailing slash in uri.
2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
* added: HttpChannleManager,
* HttpChannelListener: added use of HttpChannelManager
2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
* MessageEncodingBindingElement.cs: fixed ctor
2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
* XmlReaderBodyWriter.cs: fixed ctor, skip xml declaration
2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
* HttpReplyChannel.cs: fixed TryReceiveRequest, fix message header To
2008-04-17 Vladimir Krasnov <vladimirk@mainsoft.com>
* MessageFault.cs: fixed CreateFault11, implemented "detail"
2008-04-17 Noam Lampert <noaml@mainsoft.com>
* HttpReplyChannel.cs: fix API - Fix crash during service shutdown.
2008-04-13 Igor Zelmanovich <igorz@mainsoft.com>
* BindingElementCollection.cs: fix API - .ctor's signature.
2008-04-10 Eyal Alaluf <eyala@mainsoft.com>
* XmlSerializerBodyWriter.cs: Removed.
2008-03-25 Vladimir Krasnov <vladimirk@mainsoft.com>
* MessageFault.cs: fixed WriteReason, .net XmlWriter compatible
2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
* DuplexSessionChannelBase.cs : made it non-session (more reusable).
* TcpChannelFactory.cs, TcpChannelListener.cs :
unify factory and listener into TcpChannelInfo for use in
TCP channel implementation. Do not store stream in the listener.
Factory now uses BinaryMessageEncoder.
* TcpDuplexSessionChannel.cs : changes explained above, and now it
holds TcpClient that the listener has accepted.
tcp-transport-binding-element sample now communicates (though
only when both sides are mono: there seems binary mismatch).
2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
* TcpTransportBindingElement.cs, TcpConnectionPoolSettings.cs :
clone connection pool settings too.
* NamedPipetransportBindingElement.cs,
NamedPipeConnectionPoolSettings.cs : let's clean them up too (not
being likely implemented though).
2008-02-20 Atsushi Enomoto <atsushi@ximian.com>
* ConnectionOrientedTransportBindingElement.cs,
TcpTransportBindingElement.cs : some API updates.
Initialize default values.
* TcpConnectionPoolSettings.cs : new file.
2008-02-18 Atsushi Enomoto <atsushi@ximian.com>
* ServiceHostParser.cs, SvcHttpHandlerFactory.cs, SvcHttpHandler.cs:
added support for "factory" attribute.
2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestContent.cs : consider HttpResponseMessageProperty.
2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : pass response ContentType to ReadMessage().
2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : create WebRequest against To message header
item (if exists).
Consider HttpRequestMessageProperty.
Do not output body when suppressed or the method is GET.
2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
* HttpChannelListener.cs : BindingContext may not have listenUri
at its .ctor() step.
2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
* BindingContext.cs : RemainingBindingElements is not just a dummy
collection but is actually user-controlled.
2008-02-08 Atsushi Enomoto <atsushi@ximian.com>
* TcpChannelFactory.cs, TcpChannelListener.cs,
HttpChannelFactory.cs, HttpChannelListener.cs,
MsmqChannelFactory.cs, MsmqChannelListener.cs,
TextMessageEncodingBindingElement.cs,
BinaryMessageEncodingBindingElement.cs,
MtomMessageEncodingBindingElement.cs :
message encoder should be retrieved only through public API.
* BindingContext.cs : so my old guess was wrong.
See also: http://blogs.msdn.com/drnick/archive/2006/05/10/594134.aspx
2008-02-05 Atsushi Enomoto <atsushi@ximian.com>
* HttpTransportBindingElement.cs : implemented copy constructor.
2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs, HttpReplyChannel.cs : treat SOAPAction HTTP
header when AddressingVersion is None.
2007-08-20 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeaders.cs : AddressingVersion.None rejects some WSA
property setters.
2007-08-19 Atsushi Enomoto <atsushi@ximian.com>
* OneWayBindingElementImporter.cs
CompositeDuplexBindingElementImporter.cs : new files.
2007-08-17 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeaders.cs : due to the DataContractSerializer.ReadObject()
semantic change, its bool parameter must be false, not true.
2007-07-13 Atsushi Enomoto <atsushi@ximian.com>
* InputChannelBase.cs, MsmqChannelListener.cs, MsmqInputChannel.cs :
new files. Msmq transport listener Implementation.
* MsmqOutputChannel.cs : implemented Send(). Not sure if it works
(wait for System.Messaging impl.)
* HttpReplyChannel.cs : added comment
2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
* MsmqChannelFactory.cs MsmqOutputChannel.cs OutputChannelBase.cs :
new files. internal stuff for msmq channel.
* BinaryMessageEncoder.cs : added another .ctor().
* MsmqTransportBindingElement.cs :
implemented [Can]BuildChannelFactory().
2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
* MsmqBindingElementBase.cs MsmqTransportBindingElement.cs :
initialize some fields.
2007-07-05 Atsushi Enomoto <atsushi@ximian.com>
* MsmqBindingElementBase.cs MsmqMessageProperty.cs
MsmqTransportBindingElement.cs ITransactedBindingElement.cs :
couple of msmq stubs.
2007-04-02 Atsushi Enomoto <atsushi@ximian.com>
* SecureMessageGenerator.cs : SecurityContextToken support (though
it is still regarded as invalid by WCF).
2007-03-13 Atsushi Enomoto <atsushi@ximian.com>
* WSSecurityMessageHeader.cs, SecureMessageGenerator.cs :
make header.Contents.Add() more strict.
Use HasAsymmetricKey to determine whether to use asymmetric algorithm
or not.
Added some hack to allow ssl token external mode.
Commented out such lines that always premised asymmtric key.
2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
* TransactionFlowBindingElement.cs : forgot necessary Clone().
2007-03-08 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityBindingSupport.cs : support check to create
authenticator is now done in both initiator/recipient sides.
* SecurityRequestContext.cs : don't encrypt WS-Trust RSTR.
2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityBindingSupport.cs : for now, comment out the code
that makes authenticator creation optional.
* SecurityRequestContext.cs : don't decrypt message when it is
WS-Trust messages. Also, do not secure SOAP Fault (it is likely
to fail).
* SecurityChannelListener.cs : GetProperty<T>() now returns
MessageSecurityBindingSupport when requested. It is used by
EndpointDispatcher to check if it supports WS-Trust negotiation.
* ChannelListenerBase.cs :
removed extra TODO and field. Implemented GetProperty<T>().
* Message.cs : In CreateMessage() for SOAP Fault, create
SimpleMessage with IsFault = true.
2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
* SecurityRequestContext.cs : try to reply fault with the inner
channel when an error occurred internally.
* FaultConverter.cs : implemented based on OperationContext (at normal
state it does not seem to create messages, so I implemented it this
way).
2007-03-07 Atsushi Enomoto <atsushi@ximian.com>
* TransportBindingElement.cs : implemented GetProperty<T>().
* TransactionFlowBindingElement.cs : on building factory or listener,
reject channel types that cannot build.
* SecurityBindingElement.cs : added some TODO comments.
* HttpTransportBindingElement.cs : GetProperty<T>() should rather
delegate to base, not BindingContext.
* SecurityRequestContext.cs : somewhat late decryption.
2007-03-06 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityBindingSupport.cs,
AsymmetricSecurityBindingElement.cs,
SymmetricSecurityBindingElement.cs :
renamed *SecurityBindingElementSupport to *SecurityCapabilities and
implemented ISecurityCapabilities on them. Now those binding
elements support GetProperty<ISecurityCapabilities>().
2007-03-05 Atsushi Enomoto <atsushi@ximian.com>
* SecurityBindingElement.cs : SetIssuerBindingContextIfRequired()
will work only for predefined parameter types.
2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityBindingSupport.cs :
Set proper MessageDirection to the requirement after creation.
split CreateTokenAuthenticator() as MessageDirection is different.
Removed extra creation of requirement.
2007-03-01 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityBindingSupport.cs : token authenticator is not
always created on channel-opening stage.
* SecurityBindingElement.cs : use SslSecurityTokenParameters for
Sslnego binding factory method.
2007-02-28 Atsushi Enomoto <atsushi@ximian.com>
* SecureMessageGenerator.cs : inconsistent ReferenceList has caused
signature velification failure.
2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
* SecureMessageGenerator.cs : encrypt signature confirmations only
when they are required.
2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
* SecureMessageGenerator.cs : SignatureConfirmation must be encrypted
when [Signature Protection is true i.e. when we use
SignBeforeEncryptAndEncryptSignature.
With this change finally samplesvc.cs/samplecli.cs became
interoperable(!)
2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
* SecureMessageDecryptor.cs : signature verification was not done
for endorsing supporting tokens.
* SecureMessageGenerator.cs : moved SignatureConfirmation position
in the security header. Don't output empty ReferenceList.
2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
* SecureMessageGenerator.cs : signingToken was added before being
initialized and thus caused NRE.
2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
* WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
SecureMessageGenerator.cs : use SHA1 instead of HMACSHA1. Now we
don't need workaround for symmetric key restoration.
2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
* WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
SecureMessageGenerator.cs :
Avoid extra reference search from the request's ReferenceList.
create HMACSHA1 always with the key to compute hash (I'm not sure
it is correct; it is rather to adjust all hash consistent.)
2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
* SecureMessageDecryptor.cs : verify that endorsing supporting tokens
actually endorsed the primary signature.
* SecureMessageGenerator.cs : implemented endorsing of the primary
signature. So, now supporting tokens are fully implemented.
2007-02-27 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityBindingSupport.cs : so, those supporting tokens are
totally signing tokens.
* SecureMessageGenerator.cs : Endorsing tokens should also be
included in the message. They are just not signed.
2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
* SecureMessageGenerator.cs : support signing and encryption of
supporting tokens. Some required refactory to do it.
* MessageSecurityBindingSupport.cs : added EncryptedData member.
2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
* SecureMessageDecryptor.cs : fix exception message.
* WSSecurityMessageHeader.cs, WSSignedXml.cs, WSEncryptedXml.cs :
XmlNamespaceManager is not required for GetIdElement().
2007-02-22 Atsushi Enomoto <atsushi@ximian.com>
* SecureMessageDecryptor.cs, WSSecurityMessageHeader.cs :
moved decryption part from former file to latter file, to reuse
SignedXml instance (though now I doubt how it actually was good)
which in turn required to replace EncryptedData in
WSSecurityMessageHeader with decrypted one.
* WSEncryptedXml.cs : similar to WSSignedXml.cs, to handle wsu:Id.
2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
* SecureMessageGenerator.cs : when we create DerivedKeyToken, those
EncryptedData should contain KeyInfo as it is not obvious which key
is used there. .net<->mono DerivedKeyToken introp is done.
* SecureMessageDecryptor.cs : check derived key requirement.
Reduce dom-dependent parts.
2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
* WSSecurityMessageHeader.cs : ReferenceList needs to be bound to
the related DerivedKeyToken (if any).
* SecureMessageGenerator.cs : largely done with DerivedKeyToken
support. Some refactoring to distinguish deried-token-related
variables.
* SecureMessageDecryptor.cs : removed its own support for derived
key tokens. Now it fully works with DerivedKeySecurityToken.
2007-02-21 Atsushi Enomoto <atsushi@ximian.com>
* WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
SecureMessageDecryptor.cs :
Implemented increment token reading in o:Security, as
DerivedKeyToken could reference to existing wrapped key.
Removed WsscDerivedKeyToken and all relevant code.
* SecureMessageGenerator.cs : replaced WsscDerivedKeyToken with
DerivedKeySecurityToken.
2007-02-16 Atsushi Enomoto <atsushi@ximian.com>
* SecureMessageGenerator.cs : it was setting security tokens into
incorrect SecurityMessageProperty.
Use correct WrappedKeySecurityToken for EncryptedKeySHA1.
Now it uses SecurityRequestContext instead of just primary key.
* SecureMessageDecryptor.cs : removed extra lines. Limit workarounds
to symmetric reply decryption, which is the only trouble case.
Do not create another SignedXml.
* WSSecurityMessageHeader.cs : SignedXml processing changes above.
2007-02-15 Atsushi Enomoto <atsushi@ximian.com>
* SecureMessageDecryptor.cs : Now it uses union token resolver and
the resolver works with in-progress token reading in o:Security.
* WSSecurityMessageHeader.cs : now it does not read EncryptedKey
as EncryptedKeyIdentifierClause. It is rather a SecurityToken.
* SecureMessageGenerator.cs : cosmetic refactoring.
2007-02-14 Atsushi Enomoto <atsushi@ximian.com>
* WSSecurityMessageHeader.cs : read EncryptedKeyIdentifierClause
instead of EncryptedKey.
2007-02-13 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityBindingSupport.cs : SigningToken and EncryptionToken
should not be always prepared at channel Open(). It also caused
that extra token requirements.
* SecureMessageGenerator.cs : use correct key clause for encryption.
* SecureMessageDecryptor.cs : reduce extra key acquisition.
2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityBindingSupport.cs : added CreateTokenAuthenticator()
for supporting 'supporting tokens' .
* SecureMessageGenerator.cs : Supporting token creation is done only
at initiator (not sure if it is supposed that, but for now it is).
Removed extraneous CollectSupportingTokens().
* SecureMessageDecryptor.cs : implemented supporting token
authentication (partly). "Signed" supporting tokens are expected
to work fine.
2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
* SecureMessageGenerator.cs :
make SignBeforeEncryptAndEncryptSignature working.
2007-02-06 Atsushi Enomoto <atsushi@ximian.com>
* SecureMessageGenerator.cs : EncryptedKeySHA1 needs key hash, not
the key itself. ProtectionToken is WrappedKey.
* SecureMessageDecryptor.cs : now it is internal encrypted key clause,
not EncryptedKeyIdentifierClause which is not for embedded key.
* MessageProperties.cs : Fixed copy direction in CopyProperties().
2007-02-05 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityBindingSupport.cs : added DefaultKeyWrapAlgorithm
to switch asymmetric and symmetric. Not used yet.
* SecurityRequestChannel.cs : now it pass the request security
property to reply receiver so that it could use the primary key
used at request phase.
* SecurityRequestContext.cs : now it pass the context itself to
reply sender so that it could embed related MessageID.
* SecureMessageGenerator.cs : ongoing changes to support symmetric
binding element. Add RelatesTo output and remove MessageID when
replying to the sender. Added some hacks to get symmetric binding
(kind of) working.
* SecureMessageDecryptor.cs : ditto. Handle embedded encryption key
in SecurityTokenReference (it also involved existing encrypted key
retrieval). In reply receiver, reuse the key that was used at
request phase. It needs significant token resolution refactoring.
2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityBindingSupport.cs : cosmetic refactoring.
* SecureMessageDecryptor.cs : store token and its authentication
policies into the security property, and reuse it on reply.
Some code refactoring; there is at most one o:Security to solve at
one endpoint (depends on Actor). Some attempt to use correct
token parameters (but for now I have only samples that use x509).
* SecureMessageGenerator.cs : For replying message, use initiator's
signing token as the encryption token. Simply reuse security
property from the input message.
I have some nasty workaround at decryptor for initiator that could
not retrieve decryption key.
2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
* SecureMessageGenerator.cs, SecurityChannelListener.cs,
SecurityRequestContext.cs, MessageSecurityBindingSupport.cs:
several refactoring on token acquisition. Large part of
MessageSecurityBindingSupport code is unified.
2007-02-02 Atsushi Enomoto <atsushi@ximian.com>
* MessageProperties.cs : Security property should be one of the items.
Actually many other properties should be similar as well.
* MessageImpl.cs, MessageBufferImpl.cs, Message.cs :
when copying a message, copy properties as well.
* SecurityRequestContext.cs : on replying, pass input
SecurityMessageProperty to the security generator.
* SecureMessageGenerator.cs : both of above, for SignatureConfirmation
support.
* WSSecurityMessageHeader.cs : fixed lazy .ctor() that did nothing.
2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
* WSSignedXml.cs:
MessageHeader.cs, Message.cs, WSSecurityMessageHeader.cs,
SecureMessageDecryptor.cs, SecureMessageGenerator.cs:
use new WSSignedXml instead of SignedXml, and remove coexisting
Id and wsu:Id. Now we can live only with wsu:Id and therefore
- our reply messages could be consumed by .NET, and
- .NET signature could be verified.
2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
* SecureMessageDecryptor.cs : The signing key must be passed as
CheckSignature() argument, not SigningKey.
2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
* MessageImpl.cs : don't read attribute after ReadStartElement().
2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityBindingSupport.cs : some Release() refactoring.
* SecureMessageGenerator.cs : use correct signing key clause for
SecurityTokenReferenceKeyInfo to be serialized.
* SecureMessageDecryptor.cs : now it can try to parse signature.
2007-01-31 Atsushi Enomoto <atsushi@ximian.com>
Ongoing changes to support signature confirmation
* SecureMessageGenerator.cs :
Don't output ReplyTo onto reply message.
Write SignatureConfirmation if needed.
* SecureMessageDecryptor.cs :
Some refactoring for header cunsumption. Added commented-out
signature verification part (not working yet, on client side due
to incorrect reply from service and insufficient clause reader).
* WSSecurityMessageHeader.cs :
Added SignatureConfirmation support.
KeyInfoClause for o:SecurityTokenReference should be replaced with
SecurityTokenReferenceKeyInfo.
2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
* SecureMessageGenerator.cs : support Timestamp signature.
Removed unused code, and extra argument in CreateReference().
* WSSecurityMessageHeader.cs : Timestamp also needs Id for SignedXml.
2007-01-29 Atsushi Enomoto <atsushi@ximian.com>
* SecureMessageGenerator.cs :
Several fixes to make asymmetric binding working:
- Differentiate signing and encryption token in several areas.
- Fixed signing keyinfo.
Use SenderIdPrefix.
Added initial SecurityMessageProperty handling, not sure if it is
appropriate here though.
* HttpRequestChannel.cs : (some debugging lines)
2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
Woohoo! Here is a very basic WS-Security compliant message which could
be allowed by Indigo.
* MessageHeader.cs : added Id support for writing.
* Message.cs : added internal BodyId for signature reference.
* MessageImpl.cs : write Body Id if required.
* SecureMessageGenerator.cs : Before signing, the target elements must
be given wsu:Id. Since I still use System.Security.dll, I need some
trick for signing (I give both Id and wsu:Id, former to sign and
latter to be consumed). Maybe I will have to replace xmldsig/xmlenc
implementation later. Now singning mechanism works except for
wsu:Timestamp (which is kind of mandatory).
I can's still consume replies from Indigo but it's a big progress :)
2007-01-26 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeaderInfo.cs : added internal Id.
* MessageHeader.cs : read and write wsu:Id.
* Message.cs : output wsu namespace if Id exists in any header.
* HttpReplyChannel.cs : (some debugging lines.)
* SecureMessageDecryptor.cs : (remove debugging lines.)
* MessageImpl.cs : removed obsolete code.
* WSSecurityMessageHeader.cs : output "o" prefix.
* SecureMessageGenerator.cs : replaced XmlElement-based header
signing with MessageHeader-based signing, to support Id correctly.
2007-01-15 Atsushi Enomoto <atsushi@ximian.com>
* SecureMessageGenerator.cs : some more refactoring and code comments.
* MessageSecurityUtility.cs : made decryptor into an instance class,
like I've done for SecureMessageGenerator.
* SecurityRequestContext.cs, SecurityRequestChannel.cs :
dependent changes for above.
2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
* SecureMessageGenerator.cs : fixed derived keysize. derived key was
causing NRE due to the lack of token reference.
No need to pass doc to SignedXml.ctor() anymore.
Moved ReferenceList before the signature(s).
2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
* SecureMessageGenerator.cs : add wsu:Timestamp to signing target.
Moved signing key generation code to non-HMACSHA1 signing part.
Don't try to sign wss:Security.
Pass document itself to SignedXml.ctor().
Use temporary DataObjects to avoid adding Ids (not sure what is the
expected processing yet).
* WSSecurityMessageHeader.cs : to support timestamp signing, add
WriteTo() method in WsuTimestamp.
2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
* SecureMessageGenerator.cs : wrong key was used for signing.
Omit KeyInfo for now - it seems that .net (sometimes?) omits it.
2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
* SecureMessageGenerator.cs :
Now ID generation process does not modify input message.
Moved derived key generation part into (virtual) signing loop.
MessagePartSpecification support for signing is done.
2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
* SecureMessageGenerator.cs : some reordering to handle signing and
encryption with supporting tokens. Fixed XPath query bug for
soap header contents (we want s:Header/*, not s:Header).
2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityBindingSupport.cs : more refactoring.
Made it abstract and added Initiator- and Recipient- classes.
Several members were moved to those derived types.
* AsymmetricSecurityBindingElement.cs,
SymmetricSecurityBindingElement.cs
SecurityChannelFactory.cs, SecurityChannelListener.cs,
SecurityRequestChannel.cs, SecurityOutputChannel.cs,
SecurityRequestContext.cs, SecureMessageGenerator.cs :
All dependent changes by above. Removed ISecurityChannelSource
which became useless.
2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
* SecureMessageGenerator.cs : encryption parts should exist too.
* AsymmetricSecurityBindingElement.cs
SymmetricSecurityBindingElement.cs,
MessageSecurityBindingSupport.cs : some refactoring.
Split MessageSecurityBindingSupport into security binding element
specific parts and made MessageSecurityBindingSupport concrete.
It is likely split again, next time based on initiator/recipient.
2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityUtility.cs, SecureMessageGenerator.cs :
split encryptor part in the former file into latter file, and
make it nonstatic.
* SecurityRequestChannel.cs, SecurityOutputChannel.cs,
SecurityRequestContext.cs : apply the change above.
2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityBindingSupport.cs :
Fixed incorrect TrgGetValue() use.
Added CollectRecipientSupportingTokens().
2007-01-11 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityUtility.cs: acctually ReferenceList was inside
EncryptedKey. So, when a key itself is used to encrypt data,
ReferenceList is contained by itself.
* MessageSecurityBindingSupport.cs :
added CollectInitiatorSupportingTokens().
2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityUtility.cs: it should support ReferenceList-less
messages.
2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
* WSSecurityMessageHeader.cs : reverted previous unnecessary change.
* MessageSecurityUtility.cs : there already was uuid.
2007-01-09 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityUtility.cs : replaced EncryptedKey with
WrappedKeySecurityToken, which seems to be in actual use in .net.
* WSSecurityMessageHeader.cs : added internal Guid so that it
could be shared between header items.
2006-12-14 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestContext.cs, TextMessageEncoder.cs :
some null arg check.
2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityUtility.cs : reducing DOM dependency. Use KeyInfoNode
for SecurityTokenReference resolution.
2006-12-08 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityUtility.cs : fixed EncryptedData decryption to
consider DerivedKeyTokens correctly.
When creating LocalId, don't add '#' here.
2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityUtility.cs :
handle key mapping for each wsse:Security.
2006-12-07 Atsushi Enomoto <atsushi@ximian.com>
* WSSecurityMessageHeader.cs : use prefix "c" for ws-secureconv.
2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
* WSSecurityMessageHeader.cs : write top-level ReferenceList in
wsse:Security.
* MessageSecurityUtility.cs :
Now ReferenceList is placed under wsse:Security as WS-Security 1.1
suggests, and it is used to dereference decryption targets.
Now it premises multiple wsse:Security elements to read.
2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
* WSSecurityMessageHeader.cs : don't write o:SecurityTokenReference
manually (and actually the namespace URI was wrong).
2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
* WSSecurityMessageHeader.cs : improved DerivedKeyToken writing
and reading.
* MessageSecurityUtility.cs : DerivedKeyToken creation.
2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
* SecurityBindingElement.cs,
SymmetricSecurityBindingElement.cs,
AsymmetricSecurityBindingElement.cs :
implemented SetKeyDerivation().
2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityUtility.cs : don't add KeyInfoClause to EncryptedKey
more than once.
2006-12-06 Atsushi Enomoto <atsushi@ximian.com>
* MessageBufferImpl.cs : XmlReader-based buffer is not possible, so
don't use it.
2006-12-05 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityUtility.cs : u:Timestamp will be encrypted/signed,
thus move it in front of encryption/signing.
2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
* TransactionFlowBindingElement.cs : OnOpen()/OnClose() should not
check state by themselves (btw it's not really working).
* HttpChannelListener.cs : If the url does not end with '/' add it
so that it could be fed to HttpListener.
2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
* HttpChannelFactory.cs : check scheme on CreateChannel.
* MessageHeader.cs : finish IsMessageVersionSupported().
2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
* FaultConverter.cs : new file, not used yet though.
2006-10-21 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs : set GET URL to ServiceMetadataBehavior.
2006-10-20 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs : once AspNetReplyChannel get working with HTTP
GET as well as HttpReplyChannel, configuration would be ready now.
2006-10-18 Ankit Jain <jankit@novell.com>
* TextMessageEncoder.cs (MediaType): Use 'application/soap+xml' for
EnvelopeVersion.Soap12 and 'text/xml' for others.
* HttpReplyChannel.cs (TryReceiveRequest): Revert earlier patch for GET
handling.
Strip '?' from the query string.
2006-10-13 Ankit Jain <jankit@novell.com>
* MessageVersion.cs (None): Set AddressingVersion.None
2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs : added config-based endpoint addition code.
Though due to some weird bug in mono-core it does not seem to work,
so commented out for now.
* HttpReplyChannel.cs : handle wsdl query parameter. btw creating
mex request message might just be wrong.
Use expected MessageVersion by the channel.
* AspNetReplyChannel.cs : ditto. Plus, HTTP GET support.
2006-10-12 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityBindingSupport.cs : added DefaultSignatureAlgorithm
which differs depending on whether it is asymmetric or symmetric.
* SecurityRequestChannel.cs, SecurityRequestContext.cs :
simplify SecureMessage() and DecryptMessage() arguments (just
take MessageSecurityBindingSupport instead of several parameters).
* MessageSecurityUtility.cs :
- simplify SecureMessage() and DecryptMessage() arguments (just
take MessageSecurityBindingSupport instead of several parameters).
- Take token inclusion mode into account. Don't include them when
it is not expected. Also, change the token reference style.
- add wsa:MessageID to the headers.
- For hmac-sha1 signing (default for symmetric binding), use
symmetric key created for encryption as well to create HMACSHA1.
- add Id to wsu:Timestamp.
- start to handle SecurityMessageProperty.
* WSSecurityMessageHeader.cs :
Added Id to WsuTimestamp. Also use prefixes for its XML output.
Changed date format.
2006-10-06 Atsushi Enomoto <atsushi@ximian.com>
* CommunicationObject.cs : reject faulted state on Open()/Close().
* MessageHeaders.cs : removed extra fields.
2006-10-06 Ankit Jain <jankit@novell.com>
* HttpReplyChannel.cs (TryReceiveRequest): Handle HTTP GET.
2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityUtility.cs, SecurityRequestContext.cs :
added some FIXMEs and additional arg.
2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityUtility.cs : remove duplicate Action header.
2006-10-05 Atsushi Enomoto <atsushi@ximian.com>
* MessageFault.cs : partly implemented CreateFault(Message, int).
* Message.cs, MessageImpl.cs, MessageBufferImpl.cs :
handle IsFault correctly in each implementation.
2006-10-04 Ankit Jain <jankit@novell.com>
* HttpRequestChannel.cs (ProcessRequest): Read till the end.
2006-10-04 Ankit Jain <jankit@novell.com>
* HttpRequestChannel.cs (ProcessRequest): Temporary workaround for a bug
in WebConnectionStream.
2006-10-04 Ankit Jain <jankit@novell.com>
* MessageHeaders.cs (To): Use GetHeader<string> till
DataContractSerializer gets ISerializable support.
* CustomBinding.cs (.ctor): Get scheme from TransportBindingElement.
2006-10-04 Ankit Jain <jankit@novell.com>
* ServiceHostParser.cs (Parse):
(Split): Add some error checks.
2006-10-03 Atsushi Enomoto <atsushi@ximian.com>
* SslStreamSecurityBindingElement.cs : updated API to Sep. CTP.
* StreamUpgradeAcceptor.cs : Fix AcceptUpgrade().
* SslStreamSecurityUpgradeProvider.cs,
SslStreamSecurityUpgradeAcceptor.cs :
new files for Ssl upgrade provider implementation.
* MessageSecurityUtility.cs :
Create proper C14NTransform. Don't use enveloped signature
transform but sign every significant bits. On securing messages
use ChannelProtectionRequirements.
* SecurityRequestContext.cs : pass ChannelProtectionRequirements to
SecureMessage().
* MessageEncoder.cs : fix API (missing constraint).
* WSSecurityMessageHeader.cs : it is MustUnderstand.
* StreamUpgradeProvider.cs : API fix and implemented .ctor().
* AsymmetricSecurityBindingElement.cs : default protection order is
SignBeforeEncryptAndEncryptSignature.
2006-09-29 Ankit Jain <jankit@novell.com>
* SvcHttpHandlerFactory.cs (GetTypeFromSvc): Extract and move code to
ServicHostParser and use that here.
(PrivateBinPath): New.
(GetTypeFromBin): New. Load assembly from PrivateBinPath.
(RemovedCallback): Remove and close the SvcHttpHandler when its
corresponding file (.svc) changes.
* SvcHttpHandler.cs (Close): New. Close the ServiceHost.
* ServiceHostParser.cs : New.
* CachingCompiler.cs : New. Code extracted from
System.Web.Compilation.CachingCompiler
* CompilationException.cs : New. From System.Web.Compilation
* HtmlizedException.cs : New. Likewise.
2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityBindingSupport.cs : For client side, it is always
InitiatorServiceModelSecurityTokenRequirement which should be
created. Fixed wrong client encryption key acquisition.
2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
* SecurityChannelListener.cs, SecurityRequestContext.cs,
MessageSecurityBindingSupport.cs : made similar changes as factories
to listener so that session channels and input channels would work.
Added authenticator creation.
2006-09-29 Atsushi Enomoto <atsushi@ximian.com>
* Binding.cs : added missing members.
2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
* SecurityRequestChannel.cs, SecurityOutputChannel.cs,
MessageSecurityUtility.cs, MessageSecurityBindingSupport.cs :
reduce code duplication between request and output channels.
The common parts are now in MessageSecurityBindingSupport.
Now reduced several arguments in SecureMessage() for client.
2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
* ChannelFactoryBase.cs : implemented ValidateCreateChannel().
2006-09-28 Atsushi Enomoto <atsushi@ximian.com>
* AsymmetricSecurityBindingElement.cs,
SecurityChannelListener.cs,
SecurityRequestContext.cs,
SymmetricSecurityBindingElement.cs,
SecurityRequestChannel.cs,
SecurityOutputChannel.cs,
SecurityChannelFactory.cs,
MessageSecurityBindingSupport.cs : 1) Refactoring.
IMessageSecurityBindingSupport now becomes a class and contains
all the members which resided in ISecurityChannelSource.
Now it takes more constructor params.
Made dependent changes on all sources above.
2) Added SecurityTokenAuthenticator creation in
SecurityRequestChannel (SecurityOutputChannel should do the same).
2006-09-27 Atsushi Enomoto <atsushi@ximian.com>
* SecurityRequestChannel.cs : ongoing improvements on conditional
key creation. Actually there must be some part that creates an
authenticator (WinFX does that).
2006-09-27 Ankit Jain <jankit@novell.com>
Add suport for handling .svc files.
* SvcHttpHandlerFactory.cs: New.
* SvcHttpHandler.cs: New.
* HttpChannelListener.cs (PopulateChannel): Use AspNetReplyChannel if in
asp.net environment.
(OnOpen): Do nothing in asp.net environment.
(OnClose): Likewise.
* HttpReplyChannel.cs (HttpRequestContext): Move to ..
* HttpRequestContext.cs: .. here.
* AspNetReplyChannel.cs: New.
* AspNetRequestContext.cs: New.
2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityUtility.cs :
Significantly rewritten decryption parts to respect ReferenceList
to decrypt (so no workaround anymore).
Now e:ReferenceList inside o:Security is treated as the referenced
EncryptedType items are encrypted by 1) the derived key which is
immediately in front of it, or 2) the default key (it is according
to WS-SecureConversation section 9.1). Thus removed immediately
previous hack to auto-fill wsu:Id attributes.
On securing a message, generate correct Id and add DataReference
to ReferenceList properly.
2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
* WSSecurityMessageHeader.cs : handle ReferenceList. It is being
practically used.
2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
* WSSecurityMessageHeader.cs : handle DerivedKeyToken as a header content.
Actually WSSecurityTokenSerializer should be able to consume it, but after
spending a lot of time I still cannot successfully read it on WinFX.
Skip ReferenceList for now.
* MessageSecurityUtility.cs :
Replaced some string literals with constants.
Added some workaround for DerivedKeyToken retrieval.
WinFX somehow sends incomplete ISO10126 padding which contains
bigger number than the key size and is rejected by EncryptedXml,
so added DecryptLax() which processes such ones in PaddingMode.None
to workaround it (only for cross-connection between mono and winfx).
Added some incomplete implicit wsu:Id processing.
Don't try to replace SignedXml with EncryptedData. It is not added
to the document tree.
2006-09-25 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityUtility.cs : support message signature encryption. Some
more refactoring.
2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
* SecurityBindingElement.cs : implement Clone(). Remove some MonoTODOs.
2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityUtility.cs : fix warnings.
2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityUtility.cs : actually there would be more than one
EncryptedData. Decrypt all.
2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityUtility.cs : supply correct URIs in SecureMessage().
Use ISO10126 padding mode (it is not required but in manner).
2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityUtility.cs : now that EncryptedXml decryption bug is
fixed, remove 16 bytes workaround (we still need encryption bugfix in
that class to make it work fine with mono client).
Removed buggy lines that reset decryption key to AES.
Modified GetKey() argument to take EncryptedData/EncryptedKey element.
* WSSecurityMessageHeader.cs :
(SecurityTokenReferenceKeyInfo) support LoadXml.
2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
* TransactionMessageProperty.cs : new file.
2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
* ChannelPoolSettings.cs, OneWayBindingElement.cs : build fix, as
gmcs happened to report wrong code.
2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
* SecurityChannelFactory.cs, SecurityChannelListener.cs :
.ctor() now requires ChannelProtectionRequirements which will be
supplied via BindingParameterCollection.
* SymmetricSecurityBindingElement.cs,
AsymmetricSecurityBindingElement.cs : thus add
ChannelProtectionRequirement parameter to factory/listener.
* SecurityRequestChannel.cs : use recipient token requirement to
create an encryption token. Thus differentiate the logic from
signing (initiator) token.
2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
* SymmetricSecurityChannelFactory.cs, SecurityChannelFactory.cs :
renamed former to latter.
* SymmetricSecurityChannelListener.cs, SecurityChannelListener.cs :
ditto.
2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityBindingSupport.cs : new internal types to commonize
AsymmetricSecurityBindingElement and SymmetricSecurityBindingElement
and thus make internal factory and listener reusable.
* SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs,
SecurityRequestChannel.cs, SecurityOutputChannel.cs,
SymmetricSecurityChannelListener.cs : rewrote dependent parts on
SymmetricSecurityBindingElement, using the new types above.
* SymmetricSecurityBindingElement.cs :
Use SymmetricMessageSecurityBindingSupport.
* AsymmetricSecurityBindingElement.cs :
thus implemented, using AsymmetricMessageSecurityBindingSupport.
2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
* ChannelFactoryBase.cs : more RC1 update.
2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
* MessageEncoder.cs, BinaryMessageEncoder.cs, MtomMessageEncoder.cs,
TextMessageEncoder.cs : updated ReadMessage() API to RC1.
* ChannelListenerBase.cs, ChannelListenerBase_1.cs,
ChannelBase.cs : RC1 API updates.
* MessageImpl.cs : implemented Properties.
* HttpReplyChannel.cs : added HttpRequestMessageProperty support.
2006-09-18 Ankit Jain <jankit@novell.com>
* MessageHeaders.cs (MessageId):
(RelatesTo): UniqueId is not serializable, serialize it as a string.
2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
* ChannelParameterCollection.cs : new file.
* LayeredOutputChannel.cs, SecurityOutputChannel.cs :
new files for IOutputChannel implementation.
* OneWayBindingElement.cs : hacky implementation.
* SymmetricSecurityChannelFactory.cs : support IOutputChannel.
* MessageSecurityUtility.cs : now create identifier from the security
token and the token parameters which is added as an argument.
* SecurityRequestContext.cs,
SecurityRequestChannel.cs : SecureMessage() argument changes.
Set MessageSecurityVersion (SecurityTokenVersion) to the token
requirement.
2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : close the HttpWebRequest.
2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs,
HttpChannelFactory.cs : implement async request/reply.
* HttpChannelFactory.cs :
verify factory state when creating a channel.
2006-09-17 Atsushi Enomoto <atsushi@ximian.com>
* MessageEncoder.cs, TextMessageEncoder.cs, MtomMessageEncoder.cs,
BinaryMessageEncoder.cs : added message version mismatch check.
2006-09-15 Atsushi Enomoto <atsushi@ximian.com>
* SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs :
Making incomplete changes to handle different tokens for encryption
and signature.
* SymmetricSecurityChannelFactory.cs, SecurityRequestChannel.cs :
split channel implementation classes out to the latter file.
* MessageSecurityUtility.cs : seems like there is
TimeStampValidityDuration property, so use it (incomplete; a server
needs another love).
2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityUtility.cs, SymmetricSecurityChannelFactory.cs,
SecurityRequestContext.cs : now that we have key identifier clause
and working ResolveKeyIdentifierClause(), just create keys inside
SecureMessage(). Add KeyInfo to the xmldsig.
2006-09-12 Atsushi Enomoto <atsushi@ximian.com>
* SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
pass SecurityKeyIdentifierClause to SecureMessage().
* SecurityBindingElement.cs : set X509ReferenceStyle as Thumbprint
for IssuedToken binding element.
* SymmetricSecurityChannelListener.cs : removed hack to just create
X509 security token, and implemented correct token creation.
* WSSecurityMessageHeader.cs : added new KeyInfoClause type that
wraps SecurityTokenReference element.
* MessageSecurityUtility.cs : use the above.
2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityUtility.cs : raise MessageSecurityException when it
could not find a security header.
* SymmetricSecurityChannelFactory.cs : now it also supports
IRequestSessionChannel. Extracted SecurityRequestChannel out from
the factory type.
2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
* SecurityRequestContext.cs : moved securing message part to
MessageSecurityUtility.cs.
* MessageSecurityUtility.cs : the change above.
use DateTime.Now for timestamp basis. Don't append signature to
the document. Instead it is added to the header. Capture body
content instead of the body itself.
* SymmetricSecurityChannelFactory.cs : decrypt reply message to
be processed by upper layers.
2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
* MessageSecurityUtility.cs, WSSecurityMessageHeader.cs,
SymmetricSecurityChannelListener.cs,
SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
more refactoring. Request serialization became much more conformant
and add required header items.
Security Token retrieval is needed to send it in the request.
Fixed wrong key encryption.
2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
* SecurityRequestContext.cs : the workaround was not functional.
2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
* SecurityRequestContext.cs : some more refactoring. Use EncryptedXml
API, especially ReplaceData(), instead of native crypto stuff.
* WSSecurityMessageHeader.cs : handle dsig:Signature as well (for
MessageProtectionOrder.SignBeforeEncrypt).
2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
* SecurityRequestContext.cs : label should be combined of both
the client's and the server's.
2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
* SecurityRequestContext.cs : enable key derivation (though for now
GenerateDerivedKey() is unimplemented). Create meaningful,
decrypted request message to be consumed by the upper layer.
2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
* SecurityRequestContext.cs : implement Close() and Reply().
ongoing implementation of Reply(TimeSpan).
* MessageSecurityUtility.cs : new file to collect utility methods.
* SymmetricSecurityChannelFactory.cs : moved securing message code
to the above file.
* SymmetricSecurityChannelListener.cs : tiny renaming.
2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
* SecurityRequestContext.cs : security header is also stored.
removed NotImpl.
* WSSecurityMessageHeader.cs : read EncryptedKey and EncryptedData
as well.
2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
* SymmetricSecurityChannelFactory.cs : tiny progress on securing
message.
2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
* SymmetricSecurityChannelFactory.cs : specify KeyUsage.Exchange
so that it retrieves the security key in that manner.
2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
* Binding.cs : MessageVersion is null when there is no
MessageEncodingBindingElement.
* Message.cs : null arg check.
2006-09-05 Atsushi Enomoto <atsushi@ximian.com>
* ChannelPoolSettings.cs, OneWayBindingElement.cs : new files.
2006-09-04 Atsushi Enomoto <atsushi@ximian.com>
* SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs,
LayeredReplyChannel.cs, LayeredCommunicationObject.cs,
LayeredRequestChannel.cs : some refactoring.
* SymmetricSecurityChannelFactory.cs :
ongoing secure message creation implementation.
2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
* SymmetricSecurityBindingElement.cs :
pass specific ServiceCredentialsSecurityTokenManager type to
SymmetricSecurityChannelListener as it needs ServiceCertificate.
* SymmetricSecurityChannelListener.cs :
get service certificate. It's a temporary hack.
Move RequestContext code to below.
* SecurityRequestContext.cs : new file.
* WSSecurityMessageHeader.cs : implementing Read(), but to finish
it I have to finish decryption of the incoming message.
2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
* MessageImpl.cs : don't write attributes on the first body content
element *on soap Body element*.
* MessageBufferImpl.cs : don't throw ArgumentNullException.
ObjectDisposedException is appropriate.
* MessageHeader.cs : (RawMessageHeader) don't write element itself
in OnWriteHeader*Contents*().
2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
* WSSecurityMessageHeader.cs : new file.
* SymmetricSecurityChannelFactory.cs :
moved WSSecurityHeader and related types to the above.
* SymmetricSecurityChannelListener.cs :
reject SOAP-env-less message.
2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
* SecurityChannelListener.cs, SymmetricSecurityChannelListener.cs :
renamed former to latter.
* SymmetricSecurityChannelFactory.cs :
create requirements every time. It is also likely that I need
another requirement instance to get service credentials here.
2006-08-30 Atsushi Enomoto <atsushi@ximian.com>
* SymmetricSecurityBindingElement.cs : make BuildChannelListener()
similar to BuildChannelFactory() (set credentials, issuer binding
context etc.).
* SecurityChannelListener.cs :
more ongoing security support implementation.
* SymmetricSecurityChannelFactory.cs :
moved GetSecurityKey() to SymmetricSecurityRequestChannel.
2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
* SecurityChannelListener.cs, SymmetricSecurityBindingElement.cs :
Renamed SecurityChannelListener to SymmetricSecurityChannelListener.
Implementation is underway.
* LayeredReplyChannel.cs :
like LayeredRequestChannel, use ChannelListenerBase to provide
default timeouts.
2006-08-29 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeader.cs : added another implementation type that uses
XmlElement, for buffering purpose.
* MessageImpl.cs : Header item types are user-driven by
MessageHeader.GetHeader<T>(int), so at storing phase just store
nodes as XmlElement.
* MessageHeaders.cs : avoid dumping XmlNode to string to create
another XmlReader.
2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
* SymmetricSecurityBindingElement.cs : find ClientCredentials from
BindingParameterCollection, not from binding element properties.
2006-08-28 Atsushi Enomoto <atsushi@ximian.com>
* SecurityChannelFactory.cs, SymmetricSecurityChannelFactory.cs :
renamed former to latter.
2006-08-25 Atsushi Enomoto <atsushi@ximian.com>
* SecurityBindingElement.cs : SetIssuerBindingContext should also
work for SslSecurityTokenParameters.
2006-08-24 Atsushi Enomoto <atsushi@ximian.com>
* SecurityBindingElement.cs :
Added SetIssuerBindingContextIfRequired().
* SecurityChannelFactory.cs :
Changed .ctor() arg again, just to receive binding element.
* SymmetricSecurityBindingElement.cs :
Call SetIssuerBindingContextIfRequired() in BuildChannelFactory().
SymmetricSecurityChannelFactory .ctor() arg changes.
"ProtectionTokenParameters" is not passed now.
2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
* SymmetricSecurityBindingElement.cs : requirements should be
filled at InitializeSecurityTokenParameters as long as possible.
SymmetricSecurityChannelFactory<T> now does not receive
requirements (it now creates one inside it) at .ctor().
* SecurityChannelFactory.cs : remove requirement argument.
2006-08-23 Atsushi Enomoto <atsushi@ximian.com>
* SymmetricSecurityBindingElement.cs : implemented copy constructor.
2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
* SymmetricSecurityBindingElement.cs :
MessageSecurityVersion property is of type SecurityTokenVersion.
* SecurityBindingElement.cs :
Implemented CreateSecureConversationBindingElement().
For CreateIssuedTokenBindingElement(), ProtectionTokenParameters is
the argument IssuedSecurityTokenParameters itself.
2006-08-22 Atsushi Enomoto <atsushi@ximian.com>
* SymmetricSecurityBindingElement.cs :
CreateSecurityTokenManager() can be directly used now.
Use CallInitializeSecurityTokenRequirement() to fill requirement
properties.
2006-08-16 Atsushi Enomoto <atsushi@ximian.com>
* ChannelFactoryBase.cs : GetProperty() is virtual.
2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
* SymmetricSecurityBindingElement.cs : in BuildChannelFactory(),
create token manager, token parameters and token requirements,
and fill some requirements.
* TransportBindingElement.cs, HttpTransportBindingElement.cs,
TextMessageEncodingBindingElement.cs : workaround to not throw NIE.
* BindingContext.cs : implemented RemainingBindingElements.
kill "no remaining binding element" error in GetInnerProperty()
* SecurityChannelFactory.cs : now it became
SymmetricSecurityChannelFactory, thus soon to be renamed.
Several ongoing actual security resolution is on.
2006-08-11 Atsushi Enomoto <atsushi@ximian.com>
* CommunicationObject.cs :
add GetCommunicationObjectType() and use it.
* ChannelFactoryBase.cs, ChannelListenerBase_1.cs :
use ThrowIfDisposedOrNotOpen().
* LayeredCommunicationObject.cs : have similar ThrowIf...() methods
to CommunicationObject. Make it IDisposable.
* LayeredRequestChannel.cs : use above.
* SecurityChannelFactory.cs : removed state check as it is done at
above class.
2006-08-10 Atsushi Enomoto <atsushi@ximian.com>
* SecurityBindingElement.cs : (CanBuildChannelFactory and
CanBuildChannelListener) directly dispatch to BindingContext.
* SymmetricSecurityBindingElement.cs : require protection token
parameters before building a channel or a listener.
* ChannelFactoryBase.cs : raise an error when a channel is being
created without opening the factory.
* ChannelListenerBase_1.cs : ditto for the listener.
* SecurityChannelFactory.cs : before sending a request, it must be
opened.
2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
* MessageBufferImpl.cs : initialize fields.
workaround BufferSize just to return 0.
* MessageImpl.cs : for BodyWriter, don't use DefaultMessageBuffer
which does not support multi time write.
* Message.cs : implemented State.
2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
* Message.cs : OnGetBodyAttribute() cannot return anything unless it
is consuming XmlReader.
Implemented OnCreateBufferedCopy(), to return XPathMessageBuffer.
* MessageBuffer.cs : implemented CreateNavigator().
* MessageBufferImpl.cs : added XPathMessageBuffer class.
I kinda know that MS heavily depends on binary XmlReader and may have
XPathNavigator implementation based on the binary stuff, but at
least for now we have almost no motivation to mimick it.
2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
* SecurityChannelFactory.cs : a bit more of security header code.
2006-08-04 Atsushi Enomoto <atsushi@ximian.com>
* SymmetricSecurityBindingElement.cs :
set default MessageProtectionOrder in every construction.
2006-08-03 Atsushi Enomoto <atsushi@ximian.com>
* LayeredRequestChannel.cs, SecurityChannelFactory.cs :
changed to require ChannelFactoryBase to support default timeout.
Made some methods non-virtual. Preparing code to add security
headers (empty yet).
* SecurityBindingElement.cs : implemented several factory methods
that return SymmetricSecurityBindingElement.
2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
* IStreamUpgradeBindingElement.cs,
StreamUpgradeBindingElement.cs : renamed from former to latter.
2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
* IStreamUpgradeBindingElement.cs : API update, soon to be renamed.
2006-07-31 Ankit Jain <jankit@novell.com>
* MessageHeaders.cs (From): Use Constants.WSA1
(MessageId): Implement the same pattern as other properties (From etc).
2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
* LocalClientSecuritySettings.cs : initialize IdentityVerifier as well.
* SecurityBindingElement.cs : some cosmetic changes.
2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
* SecurityBindingElement.cs : LocalClientSettings and
LocalServiceSettings returns an instance for each.
* LocalClientSecuritySettings.cs : initialized fields.
2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
* LocalClientSecuritySettings.cs : moved from S.SM.Description, and
kinda implemented Clone() just with MemberwiseClone().
2006-07-27 Ankit Jain <jankit@novell.com>
* MessageHeaders.cs (set_To): Use Uri.AbsoluteUri .
* MessageHeader.cs (knownTypes): New. Known type array containing
EndpointAddress10.
(CreateHeader): Use knownTypes with the DataContractSerializer .ctor
2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
* LayeredRequestChannel.cs, LayeredReplyChannel.cs,
LayeredCommunicationObject.cs,
SecurityChannelFactory.cs, SecurityChannelListener.cs :
new files to support security channels, though right now they
just pass inner channels through.
* SymmetricSecurityBindingElement.cs : use above.
2006-07-21 Atsushi Enomoto <atsushi@ximian.com>
* AsymmetricSecurityBindingElement.cs,
SymmetricSecurityBindingElement.cs :
Default SecurityTokenParameters is null.
2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
* AsymmetricSecurityBindingElement.cs : remove NotImpl for now.
2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
* Message.cs : When EnvelopeVersion is None, don't write SOAP
envelope.
* MessageHeader.cs : don't write headers when EnvelopeVersion is None.
* MessageHeaders.cs : When EnvelopeVersion is None, don't output
headers. When AddressingVersion is None, don't output addressing
headers as well, except for Action which is still needed by
service dispatcher.
2006-07-20 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeaders.cs : changed specific properties to find it from
headers as Action property does (local variables won't be set by
setter). Cache serializers. Check null serializer arguments.
For EndpointAddress, GetHeader<T>() shouldn't use serializer.
2006-07-19 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeader.cs : WriteTo() should treat EndpointAddress to not
use XmlObjectSerializer (since it is not data contract type).
2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
* MessageImpl.cs : Improved ReadHeaders().
For certain header items, use EndpointAddress.ReadFrom().
2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
* AsymmetricSecurityBindingElement.cs :
it is not ISecurityCapabilities anymore.
2006-07-18 Atsushi Enomoto <atsushi@ximian.com>
* MessageVersion.cs : added None.
2006-07-14 Atsushi Enomoto <atsushi@ximian.com>
* Message.cs : GetReaderAtBodyContents() implementation using
writer methods.
2006-07-13 Atsushi Enomoto <atsushi@ximian.com>
* Message.cs : CreateMessage(version,action,xmlReader) incorrectly
used MessageVersion.Default.
2006-07-12 Duncan Mak <duncan@novell.com>
* MessageBuffer.cs (MessageContentType): Return
"application/soap+msbin1".
* MessageImpl.cs (EmptyMessage.OnCreateBufferedCopy):
(SimpleMessage.OnCreateBufferedCopy):
(XmlReaderMessage.OnCreateBufferedCopy): Hook up with the new
MessageBuffer implementations.
* MessageBufferImpl.cs: Concrete implmentations for MessageBuffer.
(DefaultMessageBuffer): Used by EmptyMessage and SimpleMessage.
(XmlReaderMessageBuffer): Used by XmlReaderMessage.
2006-07-12 Atsushi Enomoto <atsushi@ximian.com>
* MessageImpl.cs : Action should be added in request messages. Omit
it only in reply message, thus moved to dispatcher logic.
2006-07-12 Ankit Jain <jankit@novell.com>
* HttpRequestChannel.cs (HttpRequestChannel.Request): Workaround for a
bug in WebConnectionStream.
* MessageHeaders.cs (MessageHeaders.From):
(MessageHeaders.ReplyTo):
(MessageHeaders.To): Add the corresponding MessageHeader on set.
2006-07-11 Atsushi Enomoto <atsushi@ximian.com>
* MessageImpl.cs : when AddressingVersion is None (e.g. POX), don't
add SOAP Action to the response at any time.
2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
* SymmetricSecurityBindingElement.cs,
SecurityBindingElement.cs : They are not ISecurityCapabilities now.
Implemented .ctor() and some properties.
2006-07-10 Atsushi Enomoto <atsushi@ximian.com>
* TransactionFlowBindingElement.cs : new file.
* HttpTransportBindingElement.cs : added missing KeepAliveEnabled.
2006-07-06 Atsushi Enomoto <atsushi@ximian.com>
* MessageFault.cs :
DefaultAction vanished. CreateFault() now takes bufferSize arg.
* MessageHeaders.cs : ArgumentException -> MessageHeaderException.
* AddressingVersion.cs : added None. Equals() and GetHashCode()
vanished (there is anyways no way to instantiate this type).
* MessageVersion.cs : added Soap11 and Soap12.
* TextMessageEncoder.cs : silly quotation mark wrapper disappeared
in June CTP. goodie.
2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
* MtomMessageEncoder.cs, BinaryMessageEncoder.cs, Message.cs :
removed some vanished CreateMessage() overloads.
2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
* CustomBinding.cs, HttpsTransportBindingElement.cs,
HttpTransportBindingElement.cs :
They are not ISecurityCapabilities anymore.
Modified code to match June CTP behavior.
2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
* StreamSecurityUpgradeProvider.cs : Identity -> EndpointIdentity.
2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
* EmptyFaultException.cs : removed unused code.
* IRequestContext.cs, RequestContext.cs : renamed former to latter.
2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
* LayeredChannelFactory.cs : removed obsolete class.
* ChannelFactoryBase.cs, HttpChannelFactory.cs,
ChannelListenerBase.cs, HttpChannelListener.cs,
HttpReplyChannel.cs, ChannelManagerBase.cs :
all those changes were brought by ChannelManagerBase changes.
2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
* ReplyChannelBase.cs, HttpChannelFactory.cs, ChannelBase.cs
CommunicationObject.cs, HttpChannelListener.cs,
ChannelFactoryBase.cs :
CommunicationObject abstract changes brought this madness.
2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
* BindingContext.cs : listenUri address parameters could be null in
June CTP.
2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
* IRequestContext.cs :
Now it became a class. File renaming will follow soon.
* IChannelFactory.cs, IInputChannel.cs, IReplyChannel.cs,
IDuplexChannel.cs, IDuplexSessionChannel.cs,
IOutputChannel.cs, IOutputSessionChannel.cs,
IRequestChannel.cs, IRequestSessionChannel.cs :
They are not IDisposable anymore.
For IReplyChannel, IRequestContext -> RequestContext.
* IChannelListener.cs : removed Identity. Added GetProperty().
* ChannelListenerBase.cs, ChannelListenerBase.cs,
ReplyChannelBase.cs, HttpReplyChannel.cs :
Several members disappeared, and dependent changes.
* HttpTransportBindingElement.cs,
HttpChannelListener.cs, :
ChannelListenerBase.SharedChannelListener vanished.
2006-07-05 Atsushi Enomoto <atsushi@ximian.com>
* MessageEncodingBindingElement.cs
MtomMessageEncodingBindingElement.cs,
TextMessageEncodingBindingElement.cs,
BinaryMessageEncodingBindingElement.cs :
June CTP updates: AddressingVersion -> MessageVersion.
* Binding.cs : June CTP. MessageVersion is added.
* ChannelBase.cs, BindingContext.cs, IChannel.cs
ChannelListenerBase_1.cs,
ChannelListenerBase.cs, IChannelListener.cs,
IChannelFactory.cs,
ChannelFactoryBase.cs, ChannelManagerBase.cs :
June CTP. Several interface changes.
* HttpTransportBindingElement.cs : June CTP. HttpMappingMode is gone.
* IChannelManager.cs, LayeredChannelListener.cs,
GenericWrapperChannelFactory.cs,
GenericWrapperChannelListener.cs : They are not used anymore.
2006-07-04 Atsushi Enomoto <atsushi@ximian.com>
* MtomMessageEncoder.cs, BinaryMessageEncoder.cs :
sync fix with June CTP API updates.
2006-07-03 Ankit Jain <jankit@novell.com>
* MessageEncodingBindingElementConverter.cs:
* StandardBindingConverter.cs:
* TransportBindingElementConverter.cs:
* TransactionFlowBindingElementConverter.cs:
* ReliableSessionBindingElementConverter.cs:
* SecurityBindingElementConverter.cs:
Rename *Converter.cs to *Importer.cs
* TransferMode.cs: Move to System.ServiceModel
2006-06-22 Atsushi Enomoto <atsushi@ximian.com>
* CommunicationObject.cs : make sure to change State before
OnClosing/OnClosed/OnOpening/OnOpened when they are overriden.
2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
* Message.cs : output WSAddressing xmlns only when Action is
specified (To should be affected, but seems like it is ignored).
2006-06-20 Atsushi Enomoto <atsushi@ximian.com>
* MessageImpl.cs : don't set Action when it is null.
2006-06-12 Ankit Jain <jankit@novell.com>
* TransportBindingElementConverter.cs (ImportEndpoint): Implement.
2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
* SecurityBindingElement.cs, SecurityBindingElementConverter.cs :
some updated API fixes.
2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
* EnvelopeVersion.cs : moved back to S.SM.
2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
* IBindingManualAddressing.cs : vanished in beta2.
* HostedTransportConfiguration.cs, EnvelopeVersion.cs,
LocalClientSecuritySettings.cs, LocalServiceSecuritySettings.cs :
namespace changes.
* SecurityBindingElement.cs :
SecurityStandardsManager -> SecurityTokenSerializer.
2006-05-29 Atsushi Enomoto <atsushi@ximian.com>
* XmlSerializerBodyWriter.cs : new file to handle
TypedMessageConverter.ToMessage().
2006-04-26 Ankit Jain <jankit@novell.com>
* TransportBindingElementConverter.cs (BeforeImport): Remove
NotImplementedException.
(ImportContract): Likewise.
* CustomBinding.cs (.ctor): Use scheme from the binding parameter.
2006-04-14 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs, HttpChannelFactory.cs : message encoder
being used was not reflecting that of Binding elements.
2006-04-07 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs : when SOAP action is not set as a header item,
just assume that it is in the message.
2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs : actually HTTP header item might be null.
2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs : under SOAP 1.1 SOAP Action is sent as HTTP
header.
2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
* TextMessageEncoder.cs : for SOAP 1.1 content type is text/xml.
2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
* MessageFault.cs : Fixed SOAP12 reason output.
2006-04-05 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs : no need to set response ContentEncoding since
MessageEncoder.ContentType explicitly contains encoding.
* AddressingVersion.cs : added ActionNotSupported property. Not sure
if it is SOAP version dependent.
2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs : actually I could just workaround bug #77816.
2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
* HttpChannelFactory.cs BindingContext.cs
HttpChannelListener.cs HttpTransportBindingElement.cs :
Now BindingContext holds MessageEncoder, and non-custom
channel factory/listener should use it.
* MtomMessageEncodingBindingElement.cs
TextMessageEncodingBindingElement.cs
BinaryMessageEncodingBindingElement.cs : BuildChannelFactory()/
-Listener() now sets internal BindingContext.MessageEncoder.
Fixed some public API.
2006-03-15 Atsushi Enomoto <atsushi@ximian.com>
* BindingContext.cs : CanBuildChannelXXX() should not raise error
for insufficient elements.
* DispatchRuntime.cs : OperationDescription name is not action. So
OperationSelector is created by name, not by action.
* TextMessageEncodingBindingElement.cs : Feb. CTP API fixes.
2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
* MessageFaultBodyWriter.cs
XmlReaderBodyWriter.cs
XmlObjectSerializerBodyWriter.cs : made internal.
* SecurityBindingElement.cs
AsymmetricSecurityBindingElement.cs
SymmetricSecurityBindingElement.cs : API fixes.
* TransportBindingElementConverter.cs : ditto.
* TextMessageEncodingBindingElement.cs : added set_AddressingVersion.
* WindowsStreamSecurityBindingElement.cs
SslStreamSecurityBindingElement.cs
TransportSecurityBindingElement.cs : new files.
2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
* MessageImpl.cs : according to the W3C REC, mustUnderstand when
reading can be any xs:boolean value.
2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
* Message.cs MessageImpl.cs : more sorting out the role of each
write method.
* MessageHeader.cs : use envelope namespace, not addressing namespace.
2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
* Message.cs : don't write body contents if it is empty.
Moved WriteStartElement(,"Header",) to OnWriteStartHeaders().
* MessageImpl.cs : implemented XmlReaderMessage.OnWriteBodyContents().
* TextMessageEncoder.cs : WriteMessage() should close XmlWriter.
* HttpRequestChannel.cs : close request stream before GetResponse().
2006-03-13 Atsushi Enomoto <atsushi@ximian.com>
* TextMessageEncoderFactory.cs
TextMessageEncoder.cs : encoder does not hold reference to the
factory anymore. Use MessageVersion property in CreateMssage().
* HttpChannelListener.cs : now it holds message encoder.
* HttpReplyChannel.cs : now it uses listener's shared message encoder.
* MessageImpl.cs : header is optional.
* EnvelopeVersion.cs : namespace URI is missing.
2006-03-10 Atsushi Enomoto <atsushi@ximian.com>
* CustomBinding.cs : removed Initialize().
* Message.cs : renamed ForwardingMessage -> XmlReaderMessage.
* MessageImpl.cs : renamed ForwardingMessage to XmlReaderMessage (used
by Message.CreateMessage(MessageVersion,XmlReader,int) and
implemented Headers, IsEmpty and GetReaderAtBodyContents().
2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeaders.cs : implemented GetReaderAtHeader() and Action (it
could be also added by Add() method and could be reset by Remove()).
* MessageImpl.cs : implemented more. As noted above, Now we don't
have to add Action header explicitly.
* MessageHeader.cs : recovered Writer methods and ToString() from
commented old version. Use prefixes for writing.
Use WriteObjectContent() rather than WriteObject() (it needs
DataContractSerializer fix btw).
2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeader.cs : added missing IsReferenceParameter.
* MessageHeaderInfo.cs : added missing IsReferenceParameter.
* MessageHeaders.cs : avoid NullRef when actors is null.
* MessageImpl.cs : (MessageImplBase) add Action header in .ctor().
(ForwardingMessage) reader consumer is being added (not done).
* MtomMessageEncodingBindingElement.cs : simply use Mtom factory.
* MtomMessageEncoder.cs : updated ContentType value to Feb. CTP.
* HttpRequestChannel.cs : this channel automatically call Open()
when Request() is called. Set content length for request.
Use MessageEncoder's ContentType to also handle charset.
2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
* MessageImpl.cs : make them internal.
* HttpReplyChannel.cs : set HttpListenerResponse properties correctly.
2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
* ChannelManagerBase.cs : cleanup MonoTODO and unused field.
* HttpChannelListener.cs : removed commented line.
* RequestChannelBase.cs : new base class for request channel classes.
* ChannelListenerBase.cs : OnEndClose() is rather NotImplemented yet.
* HttpReplyChannel.cs : WaitHandle accepts limited timeout value.
* Message.cs : default IsEmpty and IsFault false by default.
* LayeredChannelListener.cs : removed Uri (no chance to set).
* ChannelBase.cs : reimplemented timeout properties.
* HttpRequestChannel.cs : now it is mostly based on
RequestChannelBase. Some more attempt to implement Request().
2006-03-07 Atsushi Enomoto <atsushi@ximian.com>
* Binding.cs CustomBinding.cs : removed OnApplyConfiguration() and
OnInitialize(). Added more BuildChannelListener() overloads.
2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
* Binding.cs : added some more missing members especially to support
listener creation.
* HttpChannelListener.cs : Uri should not be null.
* HttpTransportBindingElement.cs : implemented
CanBuildChannelFactory() and CanBuildChannelListener().
* ServiceHostBase.cs : make Initialize() practically work at OnOpen().
2006-03-06 Atsushi Enomoto <atsushi@ximian.com>
* Binding.cs : updated default namespace property value to Feb. CTP.
2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
* AddressHeader.cs : avoid null reference when value is null.
* BindingContext.cs : check null ListenUri args.
2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
* MessageFault.cs : Fixed default action name. Null arg check.
2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
* BindingElement.cs : Dequeue elements in BindingContext directly.
* BindingContext.cs : Added GetProperty<T>().
* GenericWrapperChannelFactory.cs GenericWrapperChannelListener.cs :
Now we don't need these extra classes, so marked as deprecated.
2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
* Binding.cs : null arg check.
* AddressingVersion.cs : fixed constants to pass the tests.
* BindingElement.cs : tiny meessage fix.
2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
* MessageEncodingBindingElement.cs
BinaryMessageEncodingBindingElement.cs
TextMessageEncodingBindingElement.cs
MtomMessageEncodingBindingElement.cs
MessageEncodingBindingElementConverter.cs : several API fixes.
* BindingElement.cs : now if we use generic wrapper it causes
infinite loop, so for now replace it with most-possible-but-
untested logic.
2006-03-02 Atsushi Enomoto <atsushi@ximian.com>
(back to normal "record-ChangeLogs" mode after the big API change mess)
* HttpTransportBindingElement.cs : fixed minor API differences.
2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
* AsymmetricSecurityBindingElement.cs SecurityBindingElement.cs
SymmetricSecurityBindingElement.cs :
Dependent fixes for System.IdentityModel reorgainzation.
2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
* InputChannelBase.cs.notused IInputSession.cs IOutputSession.cs
IProxyFormatter.cs WSHttpBindingBase.cs
PnrpPeerResolverBindingElement.cs IMessageHeaderInfo.cs
MessageInterceptorEventArgs.cs WSHttpBinding.cs
WSFederationBinding.cs ISessionChannel.cs
CompositeDuplexBindingElement.cs MessageVersion.cs
MessageHeader.cs IRequestSessionChannel.cs
BindingElementCollection.cs IReplySessionChannel.cs
MessageProperties.cs IDuplexClientChannel.cs
IInputSessionChannel.cs MessageImpl.cs IDuplexSessionChannel.cs
TcpTransportBindingElement.cs EmptyFaultException.cs
IBindingRuntimePreferences.cs AddressHeaderCollection.cs
IStubFormatter.cs AsymmetricSecurityBindingElement.cs
ConnectionOrientedTransportBindingElement.cs
IProxyOperationSelector.cs MessageBuffer.cs IChannel.cs
PeerResolverBindingElement.cs Message.cs
HttpsTransportBindingElement.cs BindingElement.cs
NamedPipetransportBindingElement.cs IBindingManualAddressing.cs
MessageFaultBodyWriter.cs IReplyChannel.cs
IBindingCapabilities.cs AddressHeader.cs IInputChannel.cs
IMessageProperty.cs IOutputChannel.cs NetPeerTcpBinding.cs
IRequestContext.cs IInputSessionShutdown.cs
SecurityBindingElement.cs PeerTransportBindingElement.cs
IDuplexSession.cs IChannelInitializer.cs
IProxyMessageInspector.cs IChannelListener.cs NetTcpBinding.cs
AddressingVersion.cs FaultException.cs
IRequestChannel.cs MtomMessageEncodingBindingElement.cs
TransportBindingElement.cs BinaryMessageEncodingBindingElement.cs
TextMessageEncodingBindingElement.cs IChannelFactory.cs Binding.cs
ITransportBindingElement.cs IChannelManager.cs MessageFault.cs
MessageHeaders.cs IStubMessageInspector.cs UnderstoodHeaders.cs
BindingParameterCollection.cs IInstanceProvider.cs
WSDualHttpBinding.cs ISession.cs IErrorHandler.cs
MessageEncodingBindingElement.cs HttpTransportBindingElement.cs
IDuplexChannel.cs CustomBinding.cs IOutputSessionChannel.cs
MessageContractAttribute.cs SymmetricSecurityBindingElement.cs :
moved from System.ServiceModel due to the API changes.
2006-02-23 Atsushi Enomoto <atsushi@ximian.com>
* ChannelFactoryBase.cs ChannelListenerBase.cs HttpChannelFactory.cs
HttpChannelListener.cs HttpRequestChannel.cs
LayeredChannelListener.cs PeerMessagePropagationFilter.cs
PeerNode.cs ReplyChannelBase.cs :
Feb. CTP API changes - chapter 1.
2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
* ChannelBase.cs : OnOpen() and OnClosed() do nothing.
* ReplyChannelBase.cs : now it is based on ChannelBase.
* ChannelListenerBase_1.cs : use DefaultCommunicationTimeouts.Instance
and check null argument in .ctor().
* HttpReplyChannel.cs : several changes.
Non-async members are mostly implemented.
* HttpChannelListener.cs : no need to receive
IDefaultCommunicationTimeouts.
* HttpRequestChannel.cs : maxSizeOfHeaders is used in MessageHeaders
to allocate buffer array and int.MaxValue causes OutOfMemory.
2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
* ClientFramingDecoderState.cs : added missing enum.
* HttpRequestMessageProperty.cs HttpResponseMessageProperty.cs :
added missing bits.
* ChannelBase.cs, LayeredChannelListener.cs : tiny API fixes.
2006-02-15 Atsushi Enomoto <atsushi@ximian.com>
* HttpChannelListener.cs : Added GetChannels() and OnClose().
AcceptChannel() has some code now but it needs more love.
2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
* CommunicationObject.cs : Close() does not call Begin/EndClose().
* ChannelManagerBase.cs : implemented AbortChannel and CloseChannel.
* ChannelListenerBase.cs : implemented OnAbort and OnClose.
2006-02-10 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : close the streams.
* HttpListener.cs
HttpChannelListener.cs : renamed from former to latter.
2006-02-09 Atsushi Enomoto <atsushi@ximian.com>
* ReplyChannelBase.cs : new file for IReplyChannel implementations.
* HttpReplyChannel.cs : new file for HTTP IReplyChannel.
* HttpListenerFactory.cs : removed obsolete file.
* HttpListener.cs : hacky WaitForChannel and AcceptChannel.
* ChannelListenerBase_1.cs : implemented virtual stuff.
* CommunicationObject.cs : Open() should not call BeginOpen() and
EndOpen(). Instead, invoke events individually.
* ChannelListenerBase.cs : its Open() is WaitForChannel().
2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : call Flush() after serializing message
into HTTP stream.
2006-02-08 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : implemented pretty hacky Request().
2006-02-02 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : Manager is HttpChannelFactory.
2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
* ChannelFactoryBase.cs : removed some NotImplementedException for
further internal implementation.
2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : new file. mostly not implemented.
* HttpChannelFactory.cs : Implemented CanCreateChannel().
Partly implemented CreateChannel().
2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
* HttpChannelFactory.cs : (.ctor())
Don't take ChannelBuildContext.
2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
* StreamSecurityUpgradeInitiator.cs PeerMessageOrigination.cs
ChannelBase.cs StreamSecurityUpgradeAcceptor.cs
PeerMessagePropagation.cs : updated to Nov. CTP.
2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
* ChannelListenerBase.cs, ChannelManagerBase.cs,
ChannelListenerBase_1.cs, LayeredChannelListener.cs,
StreamSecurityUpgradeAcceptor.cs,
StreamSecurityUpgradeInitiator.cs :
Updated to Nov. CTP API.
2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
Now we can rename ListenerFactoryBase.cs to ChannelListenerBase.cs.
2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
renamed ChannelListenerBase.cs to ChannelListenerBase_1.cs.
2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
* ChannelBase.cs : tiny filename fix.
* ChannelListenerBase.cs : added more .ctor()s.
2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
* HttpListenerFactory.cs LayeredChannelListener.cs HttpListener.cs
ListenerFactoryBase.cs ChannelListenerBase.cs :
updated IListener related stuff to Nov. CTP.
file renaming will come soon.
2005-11-21 Atsushi Enomoto <atsushi@ximian.com>
* ListenerBase.cs, ChannelListenerBase.cs :
moved from former to latter.
* LayeredListenerFactory.cs, LayeredChannelListener.cs :
moved from former to latter.
2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
* SessionFaultedException.cs : removed in Nov. CTP
2005-11-20 Atsushi Enomoto <atsushi@ximian.com>
* CommunicationObject.cs : updated to Nov. CTP.
* SessionFaultedException.cs : removed (in Nov. CTP)
2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
* TextMessageEncoder.cs : kinda implemented (untested; Message is not
working).
2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
* MtomMessageEncoder.cs, BinaryMessageEncoderFactory.cs,
TextMessageEncoderFactory.cs, BinaryMessageEncoder.cs,
TextMessageEncoder.cs, MtomMessageEncoderFactory.cs : new files.
* MessageEncoder.cs : largely implemented.
2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
* IRequestReplyCorrelator.cs : new file.
2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
* CommunicationObject.cs : OnClose() and OnError() are not virtual.
* DirectionalAction.cs : implemented IComparable<DirectionalAction>.
* MessageEncoder.cs : added misssing ToString().
2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
* ChannelBehaviorCollection.cs : moved to sys.sm.
2005-10-28 Atsushi Enomoto <atsushi@ximian.com>
* HttpListenerFactory.cs, HttpListener.cs : new files.
* ListenerFactoryBase.cs, ChannelManagerBase.cs,
CommunicationObject.cs, ChannelFactoryBase.cs,
StreamUpgradeProvider.cs, ChannelBase.cs : timeouts are now
protected internal.
* CommunicationObject.cs : Aborted is bool. Added InternalClose()
* ListenerFactoryBase.cs : kinda implemented GetListeners().
2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
* ListenerFactoryBase.cs : some implementation.
2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
* CommunicationObject.cs : more state fixes.
2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
* CommunicationObject.cs : some state machine fixes.
2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
* PeerNode.cs, ChannelManagerBase.cs :
several API fixes detected by improved corcompare.
2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
* LayeredListenerFactory.cs : added missing generic class constraint.
2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
* ListenerFactoryBase.cs,
ListenerBase.cs : class constraints were missing for generic args.
2005-10-24 Atsushi Enomoto <atsushi@ximian.com>
* StreamUpgradeInitiator.cs : tiny API fix.
2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
* PeerMessagePropagationFilter.cs : tiny build fix.
2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestMessageProperty.cs, HttpResponseMessageProperty.cs :
added Name. fixed StatusCode type.
* StreamSecurityUpgradeInitiator.cs, StreamUpgradeAcceptor.cs,
PeerNode.cs, StreamSecurityUpgradeAcceptor.cs,
StreamUpgradeProvider.cs, StreamUpgradeInitiator.cs,
DirectionalAction.cs, HostedTransportConfiguration.cs,
StreamSecurityUpgradeProvider.cs, SessionFaultedException.cs,
PeerMessagePropagationFilter.cs : added missing files.
* Dummy.cs : removed. MSMQ stuff can be added later.
2005-10-21 Atsushi Enomoto <atsushi@ximian.com>
* DeliveryStatus.cs, DeliveryFailure.cs,
HttpRequestMessageProperty.cs, PeerMessageOrigination.cs,
PeerMessagePropagation.cs, HttpResponseMessageProperty.cs :
new files.
* Dummy.cs : removed above.
2005-10-18 Atsushi Enomoto <atsushi@ximian.com>
* ChannelFactoryBase.cs : tiny .ctor() delegation fix.
2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
* MessageEncoderFactory.cs, LayeredListenerFactory.cs,
MessageEncoder.cs, BufferManager.cs : new files.
* Dummy.cs : removed above.
2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
* ChannelBase.cs, ChannelBehaviorCollection.cs : new channel files.
* Dummy.cs : removed above.
* CommunicationObject.cs, ListenerFactoryBase.cs : added missing bits.
2005-10-09 Atsushi Enomoto <atsushi@ximian.com>
* HttpChannelFactory.cs : new file.
2005-10-08 Atsushi Enomoto <atsushi@ximian.com>
* IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs:
moved to ../System.ServiceModel (correct location).
* ChannelFactoryBase.cs, LayeredChannelFactory.cs, TransferMode.cs:
new files for channels.
* Dummy.cs : reflected above changes.
* ChannelManagerBase.cs : added a bit of code and todos.
2005-10-04 Atsushi Enomoto <atsushi@ximian.com>
* ChannelManagerBase.cs, ListenerBase.cs, ListenerFactoryBase.cs :
added listener support files.
* Dummy.cs : removed above.
2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
* IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs :
added request/reply channel interfaces.
* Dummy.cs : removed above.
* CommunicationObject.cs : FIXME comments.
2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
* CommunicationObject.cs : implemented some members.
2005-09-29 Atsushi Enomoto <atsushi@ximian.com>
* CommunicationObject.cs : some signature fixes.
|