From: SourceForge.net <no...@so...> - 2008-03-30 02:20:28
|
Bugs item #1725489, was opened at 2007-05-25 04:32 Message generated for change (Comment added) made by sf-robot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=712784&aid=1725489&group_id=128809 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: sfcb Group: Usability >Status: Closed Resolution: Fixed Priority: 5 Private: No Submitted By: lupusalex (lupusalex) Assigned to: garyr (gdread) Summary: sfcb: Zero size chunks in response Initial Comment: I get chunks of size 0 in the middle of the CIM-XML payload. This breaks interoperability with the Java client because it takes a 0 sized chunk as end of message indicator. This is supported by the RFC: "The chunk-size field is a string of hex digits indicating the size of the chunk. The chunked encoding is ended by any chunk whose size is zero, followed by the trailer, which is terminated by an empty line." Sample response: HTTP/1.1 200 OK Content-Type: application/xml; charset="utf-8" Cache-Control: no-cache CIMOperation: MethodResponse Transfer-encoding: chunked Trailer: CIMError, CIMStatusCode, CIMStatusCodeDescription 1175 <?xml version="1.0" encoding="utf-8" ?> <CIM CIMVERSION="2.0" DTDVERSION="2.0"> <MESSAGE ID="997347" PROTOCOLVERSION="1.0"> <SIMPLERSP> <IMETHODRESPONSE NAME="Associators"> <IRETURNVALUE> <VALUE.OBJECTWITHPATH> <INSTANCEPATH> <NAMESPACEPATH> <HOST>localhost</HOST> <LOCALNAMESPACEPATH> <NAMESPACE NAME="root"/> <NAMESPACE NAME="cimv2"/> </LOCALNAMESPACEPATH> </NAMESPACEPATH> <INSTANCENAME CLASSNAME="Linux_OperatingSystem"> <KEYBINDING NAME="Name"> <KEYVALUE VALUETYPE="string">taunus</KEYVALUE> </KEYBINDING> <KEYBINDING NAME="CreationClassName"> <KEYVALUE VALUETYPE="string">Linux_OperatingSystem</KEYVALUE> </KEYBINDING> <KEYBINDING NAME="CSName"> <KEYVALUE VALUETYPE="string">taunus</KEYVALUE> </KEYBINDING> <KEYBINDING NAME="CSCreationClassName"> <KEYVALUE VALUETYPE="string">Linux_ComputerSystem</KEYVALUE> </KEYBINDING> </INSTANCENAME> </INSTANCEPATH> <INSTANCE CLASSNAME="Linux_OperatingSystem"> <PROPERTY NAME="PctTotalCPUTime" TYPE="uint16"> <VALUE>0</VALUE> </PROPERTY> <PROPERTY NAME="DefaultPageSize" TYPE="uint32"> <VALUE>4096</VALUE> </PROPERTY> <PROPERTY NAME="CodeSet" TYPE="string"> <VALUE>ANSI_X3.4-1968</VALUE> </PROPERTY> <PROPERTY NAME="LanguageEdition" TYPE="string"> <VALUE>en-US</VALUE> </PROPERTY> <PROPERTY NAME="TimeOfLastStateChange" TYPE="datetime"></PROPERTY> <PROPERTY NAME="EnabledDefault" TYPE="uint16"> <VALUE>2</VALUE> </PROPERTY> <PROPERTY NAME="RequestedState" TYPE="uint16"> <VALUE>2</VALUE> </PROPERTY> <PROPERTY NAME="OtherEnabledState" TYPE="string"> <VALUE>NULL</VALUE> </PROPERTY> <PROPERTY NAME="EnabledState" TYPE="uint16"> <VALUE>2</VALUE> </PROPERTY> <PROPERTY NAME="Status" TYPE="string"> <VALUE>NULL</VALUE> </PROPERTY> <PROPERTY.ARRAY NAME="StatusDescriptions" TYPE="string"></PROPERTY.ARRAY> <PROPERTY.ARRAY NAME="OperationalStatus" TYPE="uint16"> <VALUE.ARRAY> <VALUE>2</VALUE> </VALUE.ARRAY> </PROPERTY.ARRAY> <PROPERTY NAME="InstallDate" TYPE="datetime"></PROPERTY> <PROPERTY NAME="Caption" TYPE="string"> <VALUE>Operating System</VALUE> </PROPERTY> <PROPERTY NAME="Description" TYPE="string"> <VALUE>A class derived from OperatingSystem to represents the running Linux OS.</VALUE> </PROPERTY> <PROPERTY NAME="ElementName" TYPE="string"> <VALUE>DISTRIB_ID=Ubuntu DISTRIB_RELEASE=6.10 DISTRIB_CODENAME=edgy DISTRIB_DESCRIPTION="Ubuntu 6.10"</VALUE> </PROPERTY> <PROPERTY NAME="CSCreationClassName" TYPE="string"> <VALUE>Linux_ComputerSystem</VALUE> </PROPERTY> <PROPERTY NAME="CSName" TYPE="string"> <VALUE>taunus</VALUE> </PROPERTY> <PROPERTY NAME="CreationClassName" TYPE="string"> <VALUE>Linux_OperatingSystem</VALUE> </PROPERTY> <PROPERTY NAME="Name" TYPE="string"> <VALUE>taunus</VALUE> </PROPERTY> <PROPERTY NAME="OSType" TYPE="uint16"> <VALUE>36</VALUE> </PROPERTY> <PROPERTY NAME="OtherTypeDescription" TYPE="string"> <VALUE>NULL</VALUE> </PROPERTY> <PROPERTY NAME="Version" TYPE="string"> <VALUE>DISTRIB_ID=Ubuntu DISTRIB_RELEASE=6.10 DISTRIB_CODENAME=edgy DISTRIB_DESCRIPTION="Ubuntu 6.10"</VALUE> </PROPERTY> <PROPERTY NAME="LastBootUpTime" TYPE="datetime"> <VALUE>20070503133604.000000+060</VALUE> </PROPERTY> <PROPERTY NAME="LocalDateTime" TYPE="datetime"> <VALUE>20070510113916.000000+060</VALUE> </PROPERTY> <PROPERTY NAME="CurrentTimeZone" TYPE="sint16"> <VALUE>60</VALUE> </PROPERTY> <PROPERTY NAME="NumberOfLicensedUsers" TYPE="uint32"></PROPERTY> <PROPERTY NAME="NumberOfUsers" TYPE="uint32"> <VALUE>3</VALUE> </PROPERTY> <PROPERTY NAME="NumberOfProcesses" TYPE="uint32"> <VALUE>148</VALUE> </PROPERTY> <PROPERTY NAME="MaxNumberOfProcesses" TYPE="uint32"> <VALUE>256461</VALUE> </PROPERTY> <PROPERTY NAME="TotalSwapSpaceSize" TYPE="uint64"> <VALUE>0</VALUE> </PROPERTY> <PROPERTY NAME="TotalVirtualMemorySize" TYPE="uint64"> <VALUE>3639240</VALUE> </PROPERTY> <PROPERTY NAME="FreeVirtualMemory" TYPE="uint64"> <VALUE>2692244</VALUE> </PROPERTY> <PROPERTY NAME="FreePhysicalMemory" TYPE="uint64"> <VALUE>1640028</VALUE> </PROPERTY> <PROPERTY NAME="TotalVisibleMemorySize" TYPE="uint64"> <VALUE>2587024</VALUE> </PROPERTY> <PROPERTY NAME="SizeStoredInPagingFiles" TYPE="uint64"> <VALUE>1052216</VALUE> </PROPERTY> <PROPERTY NAME="FreeSpaceInPagingFiles" TYPE="uint64"> <VALUE>1052216</VALUE> </PROPERTY> <PROPERTY NAME="MaxProcessMemorySize" TYPE="uint64"> <VALUE>4294967295</VALUE> </PROPERTY> <PROPERTY NAME="Distributed" TYPE="boolean"> <VALUE>FALSE</VALUE> </PROPERTY> <PROPERTY NAME="MaxProcessesPerUser" TYPE="uint32"></PROPERTY> </INSTANCE> </VALUE.OBJECTWITHPATH> 0 0 0 0 0 0 41 </IRETURNVALUE> </IMETHODRESPONSE> </SIMPLERSP> </MESSAGE> </CIM> 0 ---------------------------------------------------------------------- >Comment By: SourceForge Robot (sf-robot) Date: 2008-03-29 19:20 Message: Logged In: YES user_id=1312539 Originator: NO This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 60 days (the time period specified by the administrator of this Tracker). ---------------------------------------------------------------------- Comment By: Chris Buccella (buccella) Date: 2008-01-29 14:58 Message: Logged In: YES user_id=1550470 Originator: NO updated patch file; committed fix to 1.2 branch as well File Added: 1725489-zero_size_chunks_fix.patch ---------------------------------------------------------------------- Comment By: garyr (gdread) Date: 2008-01-29 05:18 Message: Logged In: YES user_id=1963650 Originator: NO File Added: 1878340_fix.patch ---------------------------------------------------------------------- Comment By: Viktor Mihajlovski (mihajlov) Date: 2007-12-06 04:44 Message: Logged In: YES user_id=1198711 Originator: NO This could be related to bug 1725495 ---------------------------------------------------------------------- Comment By: Viktor Mihajlovski (mihajlov) Date: 2007-05-25 04:44 Message: Logged In: YES user_id=1198711 Originator: NO The chunking was broken somewhere on the way from 1.1 to 1.2. I am investigating this already... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=712784&aid=1725489&group_id=128809 |