Hi > We are using RemoteObject/AMF call so I think we don't have AFAIK to use > Sockets :( Ah okay .. do you have a choice of protocol when doing this? I’m not sure what the server side would support, but it looks like the “AMFChannel” class is defining protocol as “http”; if you could change that to “rtmp” then it would [I think] use a TCP socket rather than the Windows http functions..
My only other thought would be whether you could change the design of how the processing works so that it’s done more asynchronously i.e. one quick message from client to server to kick off the processing and then poll every second or so to see if it’s finished – but I’m not sure if that’s possible, I’ve not used remote objects or done the server side stuff… Final option = a custom build of AIR, but that would be very expensive :-) Good luck! thanks Andrew From: Carlos Rovira [mailto:carlosrov...@apache.org] Sent: 17 December 2018 16:52 To: users@royale.apache.org Subject: [EXTERNAL] Re: Apache Flex AIR Application problems with a limitation of two HTTP request on windows Hi Andrew, thanks for the suggestions: El lun., 17 dic. 2018 a las 14:25, Frost, Andrew (<andrew.fr...@harman.com<mailto:andrew.fr...@harman.com>>) escribió: Hi Carlos This looks like it’s to do with http 1.1 .. see the final recommendations in 8.1.4 of RFC 2616 [1] But you can hopefully override it using the windows registry (see [2]) HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings MaxConnectionsPerServer can be set to a value higher than 2. I guess you’d need an ANE to manipulate the registry though.. I'm was thinking as well in an ANE, but was hoping that someone knows some other direct way from AIR to do this, since creating an ANE just for this is a bit cumbersome. I’m curious how you’re connecting .. is it via a URLLoader type object, rather than a Socket? I don’t think the same limitation would be there if you just used TCP/IP sockets so you could potentially get around things that way..? We are using RemoteObject/AMF call so I think we don't have AFAIK to use Sockets :( [1] https://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html#sec8.1.4<https://clicktime.symantec.com/a/1/5r1JGoyDE6cEKudwun-KbrnrSRWrI6QidoXFgnDO8NQ=?d=Sk6WrtfcHD4VjwsF_PfrfBQ4y2zzKXGpsN8DKqv_7DrWa6VQHXai4e4oTo8gaR8Dy8cbAudI6r5zLIaoaR5fB3IQ50v41_NBXMtfSdggPFTyu9lMHGCQVVUXrZTxFSbzl9sSAuXqs6VasonjxcPDPRNNpleLA_dSQCmSE39YBWPnj8pz9YOdvASuTH8CCRlgYCdT7QtLp5U9YygYPLRF4Um1i5BAV_ecgjIIB4uvAODjxWWOe8gLGtP4PimJte-HQnORcv3mU2Kf-l5es0ONszLRqaT1ZLzvGQHW1EMcVKJl53ddLygPNFujs5hSlY7pg5srpDbJuEpAHz8R9N2byRXc7zxvM7op7mSNyb0xE6RgXsfHmsFiZXlDYbJmAP4nlGkKbQ7SBa7-5lL-z2BfJaJbERQc_apB56cxlQx82J9viZlCp3FBkoenDTCSqYM8d2boL5MR11SPQVxShqvZV6mVnG6KHs8zaAnXRQZvCHRHqyhrHXaW9yY0BbjfhA-sozS-03UUUKtjZ44%3D&u=https%3A%2F%2Fwww.w3.org%2FProtocols%2Frfc2616%2Frfc2616-sec8.html%23sec8.1.4> [2] http://webdebug.net/2013/01/wininet-connection-limit/<https://clicktime.symantec.com/a/1/oDCtapZi5j4YcNhs_LRH9SllPPMDjIzIF_Rq1tpzbpU=?d=Sk6WrtfcHD4VjwsF_PfrfBQ4y2zzKXGpsN8DKqv_7DrWa6VQHXai4e4oTo8gaR8Dy8cbAudI6r5zLIaoaR5fB3IQ50v41_NBXMtfSdggPFTyu9lMHGCQVVUXrZTxFSbzl9sSAuXqs6VasonjxcPDPRNNpleLA_dSQCmSE39YBWPnj8pz9YOdvASuTH8CCRlgYCdT7QtLp5U9YygYPLRF4Um1i5BAV_ecgjIIB4uvAODjxWWOe8gLGtP4PimJte-HQnORcv3mU2Kf-l5es0ONszLRqaT1ZLzvGQHW1EMcVKJl53ddLygPNFujs5hSlY7pg5srpDbJuEpAHz8R9N2byRXc7zxvM7op7mSNyb0xE6RgXsfHmsFiZXlDYbJmAP4nlGkKbQ7SBa7-5lL-z2BfJaJbERQc_apB56cxlQx82J9viZlCp3FBkoenDTCSqYM8d2boL5MR11SPQVxShqvZV6mVnG6KHs8zaAnXRQZvCHRHqyhrHXaW9yY0BbjfhA-sozS-03UUUKtjZ44%3D&u=http%3A%2F%2Fwebdebug.net%2F2013%2F01%2Fwininet-connection-limit%2F> Thanks for the links! Carlos cheers Andrew From: Carlos Rovira [mailto:carlosrov...@apache.org<mailto:carlosrov...@apache.org>] Sent: 17 December 2018 10:32 To: users@royale.apache.org<mailto:users@royale.apache.org> Subject: [EXTERNAL] Apache Flex AIR Application problems with a limitation of two HTTP request on windows Hi, we are in the process of encapsulate an existing Apache Flex app in Adobe AIR to overcome the #flash2020 problem with browsers. In this transition, we found a problem with Adobe AIR in windows with a limit of two HTTP request to the same server. This seems due to Adobe AIR using WinlNet on Windows that has this 2 limit http request. Seems we didn't saw this problem with Flex in browsers since those left behind this limit and allow this days 6 concurrent calls, but AIR, since used WinlNet, continues with the 2 concurrent call limit, that is a problem nowadays. In the other hand don't find any reference to this problem on the internet, or some solution to apply in Adobe ARI, so maybe there's something I'm missing, since this problem should be found by many people trying to leverage existing Flex apps in AIR (or even creating others). Must say this problem is seen with request that needs several time (due to some server processing) to complete and send a response. If anyone know some way to overcome this will be of great help Thanks in advance for your help -- Carlos Rovira http://about.me/carlosrovira<https://clicktime.symantec.com/3CAjHDvPDYNNRmbd1BdTjb7Vc?u=http%3A%2F%2Fabout.me%2Fcarlosrovira> -- Carlos Rovira http://about.me/carlosrovira<https://clicktime.symantec.com/a/1/5mp0YdwR5mb7mRYbCPQi4qrMYVxxp6wcG6H_HeqQpgQ=?d=Sk6WrtfcHD4VjwsF_PfrfBQ4y2zzKXGpsN8DKqv_7DrWa6VQHXai4e4oTo8gaR8Dy8cbAudI6r5zLIaoaR5fB3IQ50v41_NBXMtfSdggPFTyu9lMHGCQVVUXrZTxFSbzl9sSAuXqs6VasonjxcPDPRNNpleLA_dSQCmSE39YBWPnj8pz9YOdvASuTH8CCRlgYCdT7QtLp5U9YygYPLRF4Um1i5BAV_ecgjIIB4uvAODjxWWOe8gLGtP4PimJte-HQnORcv3mU2Kf-l5es0ONszLRqaT1ZLzvGQHW1EMcVKJl53ddLygPNFujs5hSlY7pg5srpDbJuEpAHz8R9N2byRXc7zxvM7op7mSNyb0xE6RgXsfHmsFiZXlDYbJmAP4nlGkKbQ7SBa7-5lL-z2BfJaJbERQc_apB56cxlQx82J9viZlCp3FBkoenDTCSqYM8d2boL5MR11SPQVxShqvZV6mVnG6KHs8zaAnXRQZvCHRHqyhrHXaW9yY0BbjfhA-sozS-03UUUKtjZ44%3D&u=http%3A%2F%2Fabout.me%2Fcarlosrovira>