Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2015-03-22 07:25:02 +0000
committerEike Stepper2015-03-22 07:25:02 +0000
commitd1f840408ab9b1c9c246487480fcad4010a68f10 (patch)
tree4d046bb9f1a083efe90411e37aef805a0b10ec7a /plugins/org.eclipse.net4j.http.common
parentb7060b4ced7ce72e73e7c9b357fcbcac8e604e6a (diff)
downloadcdo-d1f840408ab9b1c9c246487480fcad4010a68f10.tar.gz
cdo-d1f840408ab9b1c9c246487480fcad4010a68f10.tar.xz
cdo-d1f840408ab9b1c9c246487480fcad4010a68f10.zip
[462777] Channel not closed after unsuccessful OpenSessionIndication
https://bugs.eclipse.org/bugs/show_bug.cgi?id=462777
Diffstat (limited to 'plugins/org.eclipse.net4j.http.common')
-rw-r--r--plugins/org.eclipse.net4j.http.common/META-INF/MANIFEST.MF10
-rw-r--r--plugins/org.eclipse.net4j.http.common/src/org/eclipse/net4j/http/internal/common/HTTPConnector.java5
2 files changed, 10 insertions, 5 deletions
diff --git a/plugins/org.eclipse.net4j.http.common/META-INF/MANIFEST.MF b/plugins/org.eclipse.net4j.http.common/META-INF/MANIFEST.MF
index 87d415d7f9..8b61c0c8d7 100644
--- a/plugins/org.eclipse.net4j.http.common/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.net4j.http.common/META-INF/MANIFEST.MF
@@ -1,7 +1,7 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-SymbolicName: org.eclipse.net4j.http.common
-Bundle-Version: 4.0.300.qualifier
+Bundle-Version: 4.0.400.qualifier
Bundle-Name: %pluginName
Bundle-Vendor: %providerName
Bundle-Localization: plugin
@@ -11,11 +11,11 @@ Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-ClassPath: .
Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.5.0,4.0.0)";resolution:=optional,
org.eclipse.net4j;bundle-version="[4.0.0,5.0.0)";visibility:=reexport
-Export-Package: org.eclipse.net4j.http.common;version="4.0.300";uses:="org.eclipse.net4j.connector",
- org.eclipse.net4j.http.internal.common;version="4.0.300";
+Export-Package: org.eclipse.net4j.http.common;version="4.0.400";uses:="org.eclipse.net4j.connector",
+ org.eclipse.net4j.http.internal.common;version="4.0.400";
x-friends:="org.eclipse.net4j.http,
org.eclipse.net4j.http.server,
org.eclipse.net4j.http.tests,
org.eclipse.net4j.defs",
- org.eclipse.net4j.http.internal.common.bundle;version="4.0.300";x-friends:="org.eclipse.net4j.http,org.eclipse.net4j.http.server,org.eclipse.net4j.http.tests",
- org.eclipse.net4j.http.internal.common.messages;version="4.0.300";x-internal:=true
+ org.eclipse.net4j.http.internal.common.bundle;version="4.0.400";x-friends:="org.eclipse.net4j.http,org.eclipse.net4j.http.server,org.eclipse.net4j.http.tests",
+ org.eclipse.net4j.http.internal.common.messages;version="4.0.400";x-internal:=true
diff --git a/plugins/org.eclipse.net4j.http.common/src/org/eclipse/net4j/http/internal/common/HTTPConnector.java b/plugins/org.eclipse.net4j.http.common/src/org/eclipse/net4j/http/internal/common/HTTPConnector.java
index 0cb052ae8f..6af663db88 100644
--- a/plugins/org.eclipse.net4j.http.common/src/org/eclipse/net4j/http/internal/common/HTTPConnector.java
+++ b/plugins/org.eclipse.net4j.http.common/src/org/eclipse/net4j/http/internal/common/HTTPConnector.java
@@ -110,6 +110,11 @@ public abstract class HTTPConnector extends Connector implements IHTTPConnector
}
outputOperations.add(new BufferChannelOperation(httpChannel.getID(), outputOperationCount, buffer));
+
+ if (buffer.isCCAM())
+ {
+ httpChannel.close();
+ }
}
/**

Back to the top