Skip to content
This repository was archived by the owner on Feb 17, 2022. It is now read-only.

Adding more info to IcapException to debug Icap Server disconnection …#9

Open
rahulg11 wants to merge 3 commits into
lafaspot:masterfrom
rahulg11:SymantecDebugging
Open

Adding more info to IcapException to debug Icap Server disconnection …#9
rahulg11 wants to merge 3 commits into
lafaspot:masterfrom
rahulg11:SymantecDebugging

Conversation

@rahulg11

Copy link
Copy Markdown

Symantec Server is disconnecting the session abruptly. Logging more info the exception.

@goelpulkit

Copy link
Copy Markdown
Contributor

+1 looks good

@krdev krdev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check if the type is InetSocketAddress, if yes, get the port and use that in the Exception.
Also reduce the debug string:
"Channel disconnected, state: XX, port: YY"

Rahul P. Gade added 2 commits March 31, 2017 22:52
…issue

Not adding socket address as it doesnot add any value for debugging.
…lient into SymantecDebugging

Conflicts:
	src/main/java/com/lafaspot/icap/client/session/IcapSession.java
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants