Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-2721

Do not throw exception on corrupted data

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 5.2.17
    • 5.2.16
    • None

      The method org.jgroups.stack.RouterStub#receive(org.jgroups.Address, byte[], int, int) swallows any exception reading the data while org.jgroups.stack.RouterStub#receive(org.jgroups.Address, java.io.DataInput) throws an exception. The exception closes the connection, which causes unnecessary (I suppose) view changes.

      Make both receive methods behave the same way.

              pruivo@redhat.com Pedro Ruivo
              pruivo@redhat.com Pedro Ruivo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: