[GitHub] [qpid-dispatch] dependabot[bot] closed pull request #1575: Bump browserslist from 4.20.0 to 4.20.4 in /console/react

2022-06-21 Thread GitBox


dependabot[bot] closed pull request #1575: Bump browserslist from 4.20.0 to 
4.20.4 in /console/react
URL: https://github.com/apache/qpid-dispatch/pull/1575


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[GitHub] [qpid-dispatch] dependabot[bot] commented on pull request #1575: Bump browserslist from 4.20.0 to 4.20.4 in /console/react

2022-06-21 Thread GitBox


dependabot[bot] commented on PR #1575:
URL: https://github.com/apache/qpid-dispatch/pull/1575#issuecomment-1162132355

   Superseded by #1583.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[GitHub] [qpid-dispatch] dependabot[bot] opened a new pull request, #1583: Bump browserslist from 4.20.0 to 4.21.0 in /console/react

2022-06-21 Thread GitBox


dependabot[bot] opened a new pull request, #1583:
URL: https://github.com/apache/qpid-dispatch/pull/1583

   Bumps [browserslist](https://github.com/browserslist/browserslist) from 
4.20.0 to 4.21.0.
   
   Changelog
   Sourced from https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md;>browserslist's
 changelog.
   
   Change Log
   This project adheres to http://semver.org/;>Semantic 
Versioning.
   4.21
   
   IE 11 was added to dead and removed from 
defaults (by Albert Portnoy).
   Added browserslist.parse() to get config AST for 
analysis.
   Moved --update-db script to 
update-browserslist-db tool.
   Fixed Unicode BOM support in package.json.
   
   4.20.4
   
   Fixed Opera in mobileToDesktop (by Pig Fang).
   
   4.20.3
   
   Added Baidu to dead browsers (by Igor 
Lukanin).
   
   4.20.2
   
   Fixed package.funding URL format.
   
   4.20.1
   
   Fixed package.funding.
   Fixed docs (by Michael Lohmann).
   
   4.20
   
   Added last 2 node versions and last 2 node major 
versions (by https://github.com/g-plane;>@​g-plane).
   
   4.19.3
   
   Updated Firefox ESR (by Christophe Coevoet).
   
   4.19.2
   
   Fixed --help output.
   
   4.19.1
   
   Fixed throwOnMissing types (by Øyvind Saltvik).
   
   4.19
   
   Added queries grammar definition (by Pig Fang).
   Added throwOnMissing option (by Øyvind Saltvik).
   Fixed null data ignoring in  50% in CN 
(byPig Fang).
   Fixed data parsing in in my stats (by Sun Xiaoran).
   Fixed yarn.lock support with integrity (by 
Alexey Berezin).
   Fixed Yarn Berry error message in --update-db.
   
   4.18.1
   
   Fixed case inventiveness for cover queries (by Pig 
Fang).
   Fixed since 1970 query for null in release 
date (by Pig Fang).
   
   4.18
   
   Added --ignore-unknown-versions CLI option (by Pig 
Fang).
   
   4.17.6
   
   
   ... (truncated)
   
   
   Commits
   
   https://github.com/browserslist/browserslist/commit/9d867bed926b546a883aaf88711243423b2f38f1;>9d867be
 Release 4.21 version
   https://github.com/browserslist/browserslist/commit/1dd18efb8fef97085375eeb11b6b94d1abce9da4;>1dd18ef
 Fix ChangeLog style
   https://github.com/browserslist/browserslist/commit/8f10a623084fd7a9af4d27d715e88e7abd063ba3;>8f10a62
 Use released update-browserslist-db version
   https://github.com/browserslist/browserslist/commit/90d04ae0ce49a1b82d48a1712eecd856226dbd83;>90d04ae
 Fix reading package.json with Unicode BOM
   https://github.com/browserslist/browserslist/commit/37a3847e81a4dccc93b3af2d781e51c04a54224d;>37a3847
 Mark Internet Explorer as dead (https://github-redirect.dependabot.com/browserslist/browserslist/issues/701;>#701)
   https://github.com/browserslist/browserslist/commit/c4eaa6d84eccd51d07ed7744e60ecc5005da0552;>c4eaa6d
 Add update tool to list
   https://github.com/browserslist/browserslist/commit/e3149234504dcce61750f2bbbde6df0a74aaebe3;>e314923
 Fix docs
   https://github.com/browserslist/browserslist/commit/eef5a2f9a9802a5a38107166b33264947d243722;>eef5a2f
 Update update-db docs
   https://github.com/browserslist/browserslist/commit/7e019ce761242e1eb9777c56bb85853e41593f09;>7e019ce
 Move update DB script to another project
   https://github.com/browserslist/browserslist/commit/1706a04a3bc30fe7c2fbd8e61187c3d1eb380d6a;>1706a04
 Split Tools section
   Additional commits viewable in https://github.com/browserslist/browserslist/compare/4.20.0...4.21.0;>compare
 view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=browserslist=npm_and_yarn=4.20.0=4.21.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   You can trigger a rebase of this PR by commenting `@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot 

[jira] [Assigned] (PROTON-2568) Leak of addrinfo memory held by raw connection

2022-06-21 Thread Ken Giusti (Jira)


 [ 
https://issues.apache.org/jira/browse/PROTON-2568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ken Giusti reassigned PROTON-2568:
--

Assignee: Andrew Stitcher

> Leak of addrinfo memory held by raw connection 
> ---
>
> Key: PROTON-2568
> URL: https://issues.apache.org/jira/browse/PROTON-2568
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: proton-c
>Affects Versions: proton-c-0.37.0, proton-c-0.38.0
>Reporter: Ken Giusti
>Assignee: Andrew Stitcher
>Priority: Major
> Attachments: fix.patch
>
>
> This leak can be triggered by running the skupper-router http1 unit test for 
> a single router, example:
> /usr/bin/python3.10 
> "/home/kgiusti/work/skupper/skupper-router/BUILD/tests/run.py" "-m" 
> "unittest" "-v" 
> "system_tests_http1_adaptor.Http1AdaptorOneRouterTest.test_001_get"
>  
> The leak occurs when skupper-router is attempting to connect to a remote HTTP 
> server via a raw connection but shuts down before any raw connection events 
> are processed (e.g. No PN_RAW_CONNECTION_CONNECTED or _DISCONNECTED).
> During shutdown the router frees the proactor and expects any outstanding raw 
> connection resources owned by it to be freed.
> I've traced the proactor shutdown logic, and when the leak occurs there is a 
> final call to praw_connection_cleanup() for the outstanding connection, but 
> the praw_connection_t still holds a pointer to the allocated addrinfo.  
> praw_connection_cleanup() frees the praw_connection_t but does not call 
> freeaddrinfo(prc->addrinfo) to release the addrinfo memory.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (PROTON-2568) Leak of addrinfo memory held by raw connection

2022-06-21 Thread Ken Giusti (Jira)


[ 
https://issues.apache.org/jira/browse/PROTON-2568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17556953#comment-17556953
 ] 

Ken Giusti commented on PROTON-2568:


Added example fix.

> Leak of addrinfo memory held by raw connection 
> ---
>
> Key: PROTON-2568
> URL: https://issues.apache.org/jira/browse/PROTON-2568
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: proton-c
>Affects Versions: proton-c-0.37.0, proton-c-0.38.0
>Reporter: Ken Giusti
>Priority: Major
> Attachments: fix.patch
>
>
> This leak can be triggered by running the skupper-router http1 unit test for 
> a single router, example:
> /usr/bin/python3.10 
> "/home/kgiusti/work/skupper/skupper-router/BUILD/tests/run.py" "-m" 
> "unittest" "-v" 
> "system_tests_http1_adaptor.Http1AdaptorOneRouterTest.test_001_get"
>  
> The leak occurs when skupper-router is attempting to connect to a remote HTTP 
> server via a raw connection but shuts down before any raw connection events 
> are processed (e.g. No PN_RAW_CONNECTION_CONNECTED or _DISCONNECTED).
> During shutdown the router frees the proactor and expects any outstanding raw 
> connection resources owned by it to be freed.
> I've traced the proactor shutdown logic, and when the leak occurs there is a 
> final call to praw_connection_cleanup() for the outstanding connection, but 
> the praw_connection_t still holds a pointer to the allocated addrinfo.  
> praw_connection_cleanup() frees the praw_connection_t but does not call 
> freeaddrinfo(prc->addrinfo) to release the addrinfo memory.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (PROTON-2568) Leak of addrinfo memory held by raw connection

2022-06-21 Thread Ken Giusti (Jira)


 [ 
https://issues.apache.org/jira/browse/PROTON-2568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ken Giusti updated PROTON-2568:
---
Attachment: fix.patch

> Leak of addrinfo memory held by raw connection 
> ---
>
> Key: PROTON-2568
> URL: https://issues.apache.org/jira/browse/PROTON-2568
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: proton-c
>Affects Versions: proton-c-0.37.0, proton-c-0.38.0
>Reporter: Ken Giusti
>Priority: Major
> Attachments: fix.patch
>
>
> This leak can be triggered by running the skupper-router http1 unit test for 
> a single router, example:
> /usr/bin/python3.10 
> "/home/kgiusti/work/skupper/skupper-router/BUILD/tests/run.py" "-m" 
> "unittest" "-v" 
> "system_tests_http1_adaptor.Http1AdaptorOneRouterTest.test_001_get"
>  
> The leak occurs when skupper-router is attempting to connect to a remote HTTP 
> server via a raw connection but shuts down before any raw connection events 
> are processed (e.g. No PN_RAW_CONNECTION_CONNECTED or _DISCONNECTED).
> During shutdown the router frees the proactor and expects any outstanding raw 
> connection resources owned by it to be freed.
> I've traced the proactor shutdown logic, and when the leak occurs there is a 
> final call to praw_connection_cleanup() for the outstanding connection, but 
> the praw_connection_t still holds a pointer to the allocated addrinfo.  
> praw_connection_cleanup() frees the praw_connection_t but does not call 
> freeaddrinfo(prc->addrinfo) to release the addrinfo memory.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Created] (PROTON-2568) Leak of addrinfo memory held by raw connection

2022-06-21 Thread Ken Giusti (Jira)
Ken Giusti created PROTON-2568:
--

 Summary: Leak of addrinfo memory held by raw connection 
 Key: PROTON-2568
 URL: https://issues.apache.org/jira/browse/PROTON-2568
 Project: Qpid Proton
  Issue Type: Bug
  Components: proton-c
Affects Versions: proton-c-0.37.0, proton-c-0.38.0
Reporter: Ken Giusti


This leak can be triggered by running the skupper-router http1 unit test for a 
single router, example:

/usr/bin/python3.10 
"/home/kgiusti/work/skupper/skupper-router/BUILD/tests/run.py" "-m" "unittest" 
"-v" "system_tests_http1_adaptor.Http1AdaptorOneRouterTest.test_001_get"

 

The leak occurs when skupper-router is attempting to connect to a remote HTTP 
server via a raw connection but shuts down before any raw connection events are 
processed (e.g. No PN_RAW_CONNECTION_CONNECTED or _DISCONNECTED).

During shutdown the router frees the proactor and expects any outstanding raw 
connection resources owned by it to be freed.

I've traced the proactor shutdown logic, and when the leak occurs there is a 
final call to praw_connection_cleanup() for the outstanding connection, but the 
praw_connection_t still holds a pointer to the allocated addrinfo.  
praw_connection_cleanup() frees the praw_connection_t but does not call 
freeaddrinfo(prc->addrinfo) to release the addrinfo memory.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Created] (QPID-8592) [Broker-J] Pass context value from parent query into the subquery

2022-06-21 Thread Daniil Kirilyuk (Jira)
Daniil Kirilyuk created QPID-8592:
-

 Summary: [Broker-J] Pass context value from parent query into the 
subquery
 Key: QPID-8592
 URL: https://issues.apache.org/jira/browse/QPID-8592
 Project: Qpid
  Issue Type: Improvement
  Components: Broker-J
Affects Versions: qpid-java-broker-8.0.6
Reporter: Daniil Kirilyuk


Current version of broker query engine doesn't support subqueries referencing 
fields from the parent query. To support this possibility it's needed to pass 
the context from parent query to the subquery.

To pass context from parent query to the subquery it's needed to add current 
stream item and it's alias to the Evaluation context. It can be done using 
Stream#peek() inside of SelectEvaluator#evaluate(). 

As the aliases from parent query will affect subquery sorting, it also will be 
required to consider added aliases in QueryEvaluator#createComparator().

This should allow to use values from parent queries in subqueries, e.g.:
{code:java}
SELECT 
 id, 
 name, 
 (SELECT name FROM connection WHERE SUBSTRING(name, 1, POSITION(']' IN name)) = 
'[' + SUBSTRING(c.name, 1, POSITION('|' IN c.name) - 1) + ']') as connection, 
 (SELECT id FROM connection WHERE SUBSTRING(name, 1, POSITION(']' IN name)) = 
'[' + SUBSTRING(c.name, 1, POSITION('|' IN c.name) - 1) + ']') as connectionId, 
 (SELECT name FROM session WHERE id = c.session.id) as session 
FROM consumer c{code}
or
{code:java}
SELECT 
 name, 
 destination, 
 (SELECT id FROM queue WHERE name = b.destination) AS destinationId, 
 exchange, 
 (SELECT id FROM exchange WHERE name = b.exchange) AS exchangeId 
FROM binding b 
WHERE name = 'broadcast.amqp_user1.xxx.#'{code}
or
{code:java}
SELECT 
 alias, 
 (SELECT COUNT(id) FROM queue WHERE POSITION(UPPER(c.alias) IN name) > 0) AS 
queueCount 
FROM certificate c{code}
This would allow to retrieve values from associated entities without firing 
additional queries.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org