Ticket #1 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

__init__.py splitting on "\0"

Reported by: anonymous Assigned to: Jan-Klaas Kollhof
Priority: minor Milestone: milestone1
Component: component1 Version:
Keywords: Cc:

Description

The current code assumes that there will be a "\0" to delimit messages (even if there is only one).

This can be hacked around by appending a "\0" if it doesn't exist in SimpleConnectionHandler?.handlePartialData.

Change History

03/22/06 11:11:21 changed by Jan-Klaas Kollhof

  • status changed from new to assigned.
  • owner changed from somebody to Jan-Klaas Kollhof.

04/02/06 21:17:06 changed by Jan-Klaas Kollhof

  • status changed from assigned to closed.
  • resolution set to fixed.

I have rewritten the code for handlePartialData. It does not require a messageDelimiter any more. What it does is try to find the first { in a message and form there on reads in the first object. After that it tries to find the next { and so on and so forth. That means anything beween messages ({...}ignored{...}) is ignored. It also means that it may be ignoring faulty messages. I will add some code that will check it and throw exceptions if needed...

The messageDelimiter is still used for sending messages but set to "" by default.

07/02/06 18:59:34 changed by anonymous

  • component changed from component1 to component2.
  • summary changed from __init__.py splitting on "\0" to __init__.py splitting on "\0".
  • priority changed from critical to trivial.
  • version set to 2.0.
  • milestone set to milestone2.
  • type changed from defect to task.

07/02/06 18:59:49 changed by anonymous

  • component changed from component2 to component1.
  • summary changed from __init__.py splitting on "\0" to __init__.py splitting on "\0".
  • priority changed from trivial to critical.
  • version deleted.
  • milestone changed from milestone2 to milestone1.
  • type changed from task to enhancement.

07/03/06 09:28:24 changed by anonymous

  • priority changed from critical to blocker.
  • type changed from enhancement to task.
  • summary changed from __init__.py splitting on "\0" to __init__.py splitting on "\0".
  • component changed from component1 to component2.
  • milestone changed from milestone1 to milestone4.

07/03/06 09:28:42 changed by anonymous

  • component changed from component2 to component1.
  • summary changed from __init__.py splitting on "\0" to __init__.py splitting on "\0".
  • priority changed from blocker to minor.
  • version set to 2.0.
  • milestone changed from milestone4 to milestone2.
  • type changed from task to enhancement.

07/04/06 09:14:30 changed by anonymous

  • component changed from component1 to component2.
  • summary changed from __init__.py splitting on "\0" to __init__.py splitting on "\0".
  • priority changed from minor to critical.
  • version deleted.
  • milestone changed from milestone2 to milestone1.
  • type changed from enhancement to task.

07/04/06 09:14:44 changed by anonymous

  • component changed from component2 to component1.
  • summary changed from __init__.py splitting on "\0" to __init__.py splitting on "\0".
  • priority changed from critical to minor.
  • version set to 1.0.
  • milestone deleted.
  • type changed from task to defect.

07/07/06 21:26:45 changed by anonymous

  • component changed from component1 to component2.
  • summary changed from __init__.py splitting on "\0" to __init__.py splitting on "\0".
  • priority changed from minor to blocker.
  • version deleted.
  • milestone set to milestone4.
  • type changed from defect to enhancement.

07/07/06 21:27:00 changed by anonymous

  • priority changed from blocker to minor.
  • type changed from enhancement to defect.
  • summary changed from __init__.py splitting on "\0" to __init__.py splitting on "\0".
  • component changed from component2 to component1.
  • milestone changed from milestone4 to milestone2.

09/10/06 14:31:12 changed by Jan-Klaas Kollhof

  • milestone changed from milestone2 to milestone1.

Milestone milestone2 deleted