We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dc09a0 commit 3936e4fCopy full SHA for 3936e4f
src/client/impl/SessionManager.cs
@@ -84,26 +84,7 @@ public ushort ChannelMax
84
}
85
set
86
{
87
- if ((value < 2) && (value != 0))
88
- {
89
- // We currently interpret channel max as
90
- // *including* channel zero. We also think it
91
- // doesn't make sense to forbid opening of any
92
- // real usable channels, so by our ch0-including
93
- // assumption, the minimum *useful* value for
94
- // channel max is 2.
95
- //
96
- // This code is here to work around OpenAMQ
97
- // 1.2c4's channel max setting of 1.
98
99
- // FIXME: warning? or is there something more
100
- // sensible we can do here?
101
- m_channelMax = 2;
102
- }
103
- else
104
105
- m_channelMax = value;
106
+ m_channelMax = value;
107
108
109
0 commit comments