Ticket #1 (closed defect: fixed)

Opened 12 years ago

Last modified 5 years ago

__init__.py splitting on "\0"

Reported by: anonymous Owned by: Jan-Klaas Kollhof
Priority: minor 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

comment:1 Changed 12 years ago by Jan-Klaas Kollhof

  • Owner changed from somebody to Jan-Klaas Kollhof
  • Status changed from new to assigned

comment:2 Changed 11 years ago 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.

comment:4 Changed 11 years ago 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 2.0 deleted
  • milestone changed from milestone2 to milestone1
  • Type changed from task to enhancement

comment:5 Changed 11 years ago 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

comment:6 Changed 11 years ago 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

comment:7 Changed 11 years ago 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 2.0 deleted
  • milestone changed from milestone2 to milestone1
  • Type changed from enhancement to task

comment:8 Changed 11 years ago 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 milestone1 deleted
  • Type changed from task to defect

comment:9 Changed 11 years ago 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 1.0 deleted
  • milestone set to milestone4
  • Type changed from defect to enhancement

 computer networking consultant  affordable hosting services site web  650 palm software treo  professional dvd authoring software  7 internet mcafee security suite  well gardner monitor repair  360 box keyboard usb x  720 dell download photo printer  internet hardware software  room paint design  spybot spyware software  real estate settlement software  casio cd printer thermal  refurbished epson printer  accessory computer peripheral  5 latest current computer virus  register domain name in canada  hp laser printer  design emroidery free software  buy keyboard music bulk email program software  driver monitor starlogic  computer game store  commercial design firm interior  keyboard lighted pc  cart download shopping software  3230 free mp3 nokia software  home business money internet work  320p acer driver prisa scanner  best web design company  6 explorer internet upgrade  bachelor degree in computer science online  canadian domain name ontario  tax accounting software  citrus computer consulting network offer park  bearcat radio scanner uniden  brother hl 2040 laser printer  uninstall and reinstall internet explorer  wedding henna design  explorer internet toolbar wallpaper  keyboard note for tamil song  ipod sync software  advanced port scanner  panda security software  acid music software sony  saitek keyboard driver  mac software review  free dvd movie player software  business design florida small web  download lexmark printer driver

comment:10 Changed 11 years ago 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

 computer networking consultant  affordable hosting services site web  650 palm software treo  professional dvd authoring software  7 internet mcafee security suite  well gardner monitor repair  360 box keyboard usb x  720 dell download photo printer  internet hardware software  room paint design  spybot spyware software  real estate settlement software  casio cd printer thermal  refurbished epson printer  accessory computer peripheral  5 latest current computer virus  register domain name in canada  hp laser printer  design emroidery free software  buy keyboard music bulk email program software  driver monitor starlogic  computer game store  commercial design firm interior  keyboard lighted pc  cart download shopping software  3230 free mp3 nokia software  home business money internet work  320p acer driver prisa scanner  best web design company  6 explorer internet upgrade  bachelor degree in computer science online  canadian domain name ontario  tax accounting software  citrus computer consulting network offer park  bearcat radio scanner uniden  brother hl 2040 laser printer  uninstall and reinstall internet explorer  wedding henna design  explorer internet toolbar wallpaper  keyboard note for tamil song  ipod sync software  advanced port scanner  panda security software  acid music software sony  saitek keyboard driver  mac software review  free dvd movie player software  business design florida small web  download lexmark printer driver

comment:11 Changed 11 years ago by Jan-Klaas Kollhof

  • milestone changed from milestone2 to milestone1

Milestone milestone2 deleted

comment:12 Changed 5 years ago by matt

Milestone milestone1 deleted

Note: See TracTickets for help on using tickets.